Add .env support in to the docker compose && remove the old .env.exmple data.

This commit is contained in:
yuanhau 2025-05-25 19:31:28 +08:00
parent f3204cb574
commit ec589d2f85
2 changed files with 3 additions and 7 deletions

View file

@ -22,6 +22,9 @@ services:
- "traefik.http.services.newsanalyze.loadbalancer.server.port=3000"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
env_file:
- path: ./.env
required: true
deploy:
mode: replicated
replicas: 2