Change network configuration
This commit is contained in:
parent
521aea2363
commit
9555051ec9
1 changed files with 9 additions and 5 deletions
|
@ -1,12 +1,10 @@
|
||||||
services:
|
services:
|
||||||
vaultwarden:
|
vaultwarden:
|
||||||
image: vaultwarden/server:1.30.5
|
image: vaultwarden/server:1.31.0
|
||||||
container_name: vaultwarden
|
container_name: vaultwarden
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
- "9000:80"
|
|
||||||
environment:
|
environment:
|
||||||
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
||||||
- SIGNUPS_ALLOWED=false
|
- SIGNUPS_ALLOWED=false
|
||||||
- DOMAIN=${DOMAIN}
|
- DOMAIN=${DOMAIN}
|
||||||
- SMTP_HOST=${SMTP_HOST}
|
- SMTP_HOST=${SMTP_HOST}
|
||||||
|
@ -18,3 +16,9 @@ services:
|
||||||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
||||||
volumes:
|
volumes:
|
||||||
- ./bw-data:/data
|
- ./bw-data:/data
|
||||||
|
networks:
|
||||||
|
- nginx_proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx_proxy:
|
||||||
|
external: true
|
||||||
|
|
Loading…
Reference in a new issue