31 lines
712 B
YAML
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
|