Files
front/docker-compose-dev.yml
T
Uroboros e35cf3d2f2
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
еуые_3
2026-10-15 17:09:40 +10:00

32 lines
792 B
YAML

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