feat: added .env file support

This commit is contained in:
2026-03-07 12:15:34 +01:00
parent bb528b575a
commit acfbe71baa
3 changed files with 16 additions and 6 deletions

View File

@@ -3,10 +3,10 @@ services:
build: .
container_name: votify-web
ports:
- "5000:5000"
environment:
- PASSWORD=test # Remove or leave empty to disable auth
- "${PORT:-5000}:5000"
env_file:
- .env
volumes:
- ./downloads:/downloads
- ./config:/config
- ${DOWNLOADS_DIR:-./downloads}:/downloads
- ${CONFIG_DIR:-./config}:/config
restart: unless-stopped