25 lines
683 B
YAML
25 lines
683 B
YAML
|
|
services:
|
|
web:
|
|
image: gitea.allowlgroup.ru/na-granicelife.ru/front:latest
|
|
container_name: na-granicelife
|
|
restart: unless-stopped
|
|
init: true
|
|
ports:
|
|
- "127.0.0.1:3000:3000"
|
|
# Монтируем видео из хоста в public-директорию Nuxt
|
|
volumes:
|
|
- ./assets/mp4:/app/.output/public/assets/mp4:ro
|
|
environment:
|
|
- NUXT_PUBLIC_SITE_URL=https://na-granicelife.ru
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "5"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s |