rwadurian/frontend/admin-web/docker-compose.yml

26 lines
587 B
YAML

services:
admin-web:
build:
context: .
dockerfile: Dockerfile
image: rwadurian-admin-web:latest
container_name: rwadurian-admin-web
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 40s
networks:
- rwadurian-network
networks:
rwadurian-network:
driver: bridge