add traefik labels to deluge

This commit is contained in:
gregory hendrickson
2023-11-10 23:53:55 -08:00
parent c5f4676dc5
commit ec27c62af3
2 changed files with 41 additions and 0 deletions

View File

@@ -9,6 +9,13 @@ services:
- PGID=1000 - PGID=1000
- TZ=Etc/UTC - TZ=Etc/UTC
- DELUGE_LOGLEVEL=error #optional - DELUGE_LOGLEVEL=error #optional
labels:
- "traefik.enable=true"
- "traefik.http.routers.deluge.rule=Host(`deluge.hndrx.co`)"
- "traefik.http.routers.deluge.entrypoints=websecure"
- "traefik.http.routers.deluge.tls=true"
- "traefik.http.routers.deluge.tls.certresolver=myresolver"
- "traefik.http.services.deluge.loadbalancer.server.port=8112"
volumes: volumes:
- /opt/deluge/config:/config - /opt/deluge/config:/config
- /opt/deluge/downloads:/downloads - /opt/deluge/downloads:/downloads

View File

@@ -0,0 +1,34 @@
version: '3'
services:
vaultwarden:
container_name: vaultwarden
image: vaultwarden/server:latest
restart: unless-stopped
volumes:
- ./data/:/data/
ports:
- XXXX:80
environment:
- DOMAIN=https://subdomain.yourdomain.com
- LOGIN_RATELIMIT_MAX_BURST=10
- LOGIN_RATELIMIT_SECONDS=60
- ADMIN_RATELIMIT_MAX_BURST=10
- ADMIN_RATELIMIT_SECONDS=60
- ADMIN_TOKEN=YourReallyStrongAdminTokenHere
- SENDS_ALLOWED=true
- EMERGENCY_ACCESS_ALLOWED=true
- WEB_VAULT_ENABLED=true
- SIGNUPS_ALLOWED=false
- SIGNUPS_VERIFY=true
- SIGNUPS_VERIFY_RESEND_TIME=3600
- SIGNUPS_VERIFY_RESEND_LIMIT=5
- SIGNUPS_DOMAINS_WHITELIST=yourdomainhere.com,anotherdomain.com
- SMTP_HOST=smtp.youremaildomain.com
- SMTP_FROM=vaultwarden@youremaildomain.com
- SMTP_FROM_NAME=Vaultwarden
- SMTP_SECURITY=SECURITYMETHOD
- SMTP_PORT=XXXX
- SMTP_USERNAME=vaultwarden@youremaildomain.com
- SMTP_PASSWORD=YourReallyStrongPasswordHere
- SMTP_AUTH_MECHANISM="Mechanism"