Files
people-randomizr/docker-compose.yml
Julien Froidefond 50702180a0
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m14s
Rename app service to people-randomizr-app in docker-compose.yml, update container name, and add Watchtower label for automatic updates.
2025-12-19 16:37:52 +01:00

31 lines
617 B
YAML

version: "3.8"
services:
people-randomizr-app:
build:
context: .
dockerfile: Dockerfile
container_name: people-randomizr-app
ports:
- "4399:3000"
environment:
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=false"
healthcheck:
test:
[
"CMD",
"wget",
"--quiet",
"--tries=1",
"--spider",
"http://localhost:3000",
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s