didi-website-erp-crm/website/docker-compose.yml

24 lines
503 B
YAML

services:
website:
build:
context: .
dockerfile: Dockerfile
target: prod
container_name: didi-website
restart: unless-stopped
ports:
- "127.0.0.1:3001:3000"
env_file:
- .env.production
networks:
- didi-network
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
networks:
didi-network:
external: true