feat: added .env file support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user