Created
July 8, 2024 18:28
-
-
Save dropmeaword/adf55523bd7c0871ae1ea65601a8237d to your computer and use it in GitHub Desktop.
dockerized instance of vaultwarden reverse-proxied with Caddy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
vaultwarden: | |
image: vaultwarden/server:1.30.5-alpine | |
container_name: vaultwarden | |
restart: always | |
ports: | |
- 3000:80 | |
environment: | |
- WEBSOCKET_ENABLED=true | |
- SIGNUPS_ALLOWED=false | |
- DOMAIN=<YOUR DOMAIN HERE> | |
- ADMIN_TOKEN=<YOUR TOKEN HERE> | |
- ROCKET_WORKERS=10 | |
- DISABLE_ICON_DOWNLOAD=true | |
volumes: | |
- ./vw-data:/data | |
caddy: | |
image: caddy | |
container_name: caddy | |
restart: always | |
network_mode: host | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- /srv/caddy/Caddyfile:/etc/caddy/Caddyfile:ro | |
- /srv/caddy/config:/config | |
- /srv/caddy/data:/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment