еуые_3
This commit is contained in:
+23
-7
@@ -1,15 +1,31 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web-prod:
|
||||
image: gitea.allowlgroup.ru/na-granicelife.ru/front:prod-latest
|
||||
container_name: na-granicelife-prod
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
expose:
|
||||
- "3002"
|
||||
volumes:
|
||||
- ./assets/mp4:/app/.output/public/assets/mp4:ro
|
||||
# ВАЖНО: Никаких портов наружу!
|
||||
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:3002/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 120s
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: na-granicelife-net
|
||||
na-granicelife-net:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user