Migrate docker compose to directly use env file
This commit is contained in:
parent
9555051ec9
commit
92809cdaef
1 changed files with 2 additions and 11 deletions
|
@ -3,17 +3,8 @@ services:
|
||||||
image: vaultwarden/server:1.31.0
|
image: vaultwarden/server:1.31.0
|
||||||
container_name: vaultwarden
|
container_name: vaultwarden
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
env_file:
|
||||||
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
- .env
|
||||||
- SIGNUPS_ALLOWED=false
|
|
||||||
- DOMAIN=${DOMAIN}
|
|
||||||
- SMTP_HOST=${SMTP_HOST}
|
|
||||||
- SMTP_FROM=${SMTP_FROM}
|
|
||||||
- SMTP_PORT=587
|
|
||||||
- SMTP_SSL=true
|
|
||||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
|
||||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
|
||||||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./bw-data:/data
|
- ./bw-data:/data
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue