wengyeyulu/docker-compose.yml
2025-12-15 12:45:54 +08:00

15 lines
414 B
YAML

services:
app:
build: .
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- NODE_ENV=production
labels:
- "traefik.enable=true"
- "traefik.http.routers.wengyeyulu.rule=Host(`${DOMAIN_NAME:-example.com}`)"
- "traefik.http.routers.wengyeyulu.entrypoints=web"
- "traefik.http.services.wengyeyulu.loadbalancer.server.port=3000"