Update Security_Containers/vaultwarden/compose.yaml
This commit is contained in:
@@ -14,6 +14,16 @@ services:
|
|||||||
- 9445:80
|
- 9445:80
|
||||||
labels:
|
labels:
|
||||||
- flame.type=application # "app" works too
|
- flame.type=application # "app" works too
|
||||||
- flame.name=Vaultwarden
|
- flame.name=${SERVICE_NAME}
|
||||||
- flame.url=http://vaultwarden.homelab.internal #Adjust to your domain or IP
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP
|
||||||
- flame.icon=safe
|
- flame.icon=safe
|
||||||
|
### Enable Traefik
|
||||||
|
- traefik.enable=true
|
||||||
|
### For HTTP
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
|
||||||
|
### For HTTPS
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||||
Reference in New Issue
Block a user