diff --git a/docker-compose.yml b/docker-compose.yml index af48c65..bde6c54 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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