Files
front/docker-compose-main.yml
Uroboros 4720c781bf
continuous-integration/drone/push Build is passing
\
2026-10-16 20:24:36 +10:00

31 lines
712 B
YAML

version: '3.8'
services:
web-prod:
image: gitea.allowlgroup.ru/na-granicelife.ru/front:prod-latest
container_name: na-granicelife-prod
restart: unless-stopped
# ВАЖНО: Никаких портов наружу!
networks:
- na-granicelife-net
environment:
- NUXT_PUBLIC_SITE_URL=https://na-granicelife.ru
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
# Исправленный healthcheck
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
networks:
na-granicelife-net:
external: true