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:
|
||||
vaultwarden:
|
||||
image: vaultwarden/server:1.30.5
|
||||
image: vaultwarden/server:1.31.0
|
||||
container_name: vaultwarden
|
||||
restart: always
|
||||
ports:
|
||||
- "9000:80"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
||||
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
||||
- SIGNUPS_ALLOWED=false
|
||||
- DOMAIN=${DOMAIN}
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
|
@ -18,3 +16,9 @@ services:
|
|||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
||||
volumes:
|
||||
- ./bw-data:/data
|
||||
networks:
|
||||
- nginx_proxy
|
||||
|
||||
networks:
|
||||
nginx_proxy:
|
||||
external: true
|
||||
|
|
Loading…
Reference in a new issue