Change network configuration

This commit is contained in:
Ryan Harg 2024-07-16 11:07:50 +02:00
parent 521aea2363
commit 9555051ec9

View file

@ -1,10 +1,8 @@
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
@ -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