[mod] vault

This commit is contained in:
Andy Bunce 2023-06-13 17:13:22 +01:00
parent 5043d34300
commit 7c8527079a
2 changed files with 14 additions and 2 deletions

View File

@ -90,7 +90,16 @@ quodatum.duckdns.org {
@warden host warden.quodatum.duckdns.org
handle @warden {
import auth_quodatum
import xu4 8882
encode gzip
# The negotiation endpoint is also proxied to Rocket
reverse_proxy /notifications/hub/negotiate 0.0.0.0:8882
# Notifications redirected to the websockets server
reverse_proxy /notifications/hub 0.0.0.0:3012
# Send all other traffic to the regular Vaultwarden endpoint
reverse_proxy 0.0.0.0:8882
}
@nextcloud host nextcloud.quodatum.duckdns.org

View File

@ -5,7 +5,10 @@ services:
container_name: vaultwarden
image: vaultwarden/server:latest
restart: unless-stopped
environment:
- WEBSOCKET_ENABLED=true
volumes:
- ./data/:/data/
ports:
- 8882:80
- 127.0.0.1:8882:80
- 127.0.0.1:3012:3012