Files
front/docker-compose-dev.yml
Uroboros 513991b7c1
continuous-integration/drone/push Build is passing
/
2026-10-16 20:23:44 +10:00

31 lines
791 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:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
networks:
na-granicelife-net:
external: true