Compare commits
19
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e05abdefe0 | ||
|
|
8ac121517d | ||
|
|
dea31199f9 | ||
|
|
1309c81d32 | ||
|
|
ca2c97c8c9 | ||
|
|
aa1aa405b0 | ||
|
|
66170a3236 | ||
|
|
45d84e9cc1 | ||
|
|
3fbc6e8c7c | ||
|
|
af645a8125 | ||
|
|
95242601c9 | ||
|
|
cc73e80893 | ||
|
|
b53046fa82 | ||
|
|
c631c719d2 | ||
|
|
b7023b387a | ||
|
|
f676d9b617 | ||
|
|
d1e1ea908f | ||
|
|
9d5acfc5c4
|
||
|
|
f18c6e7b61 |
+13
@@ -34,3 +34,16 @@ TX="Europe/Berlin"
|
||||
# If SMTP isn't working, enable this line to debug
|
||||
# remember to disable it after debugging
|
||||
#SMTP_DEBUG=true
|
||||
|
||||
#DISABLE_IPV6=0
|
||||
|
||||
## Single Sign On (OpenID Connect / OIDC) settings
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.oidc.yml"
|
||||
#SSO_ENABLED=true
|
||||
#SSO_ONLY=false
|
||||
#SSO_AUTHORITY=https://auth.example.com
|
||||
#SSO_SCOPES=profile email offline_access vaultwarden
|
||||
#SSO_PKCE=true
|
||||
#SSO_CLIENT_ID=vaultwarden
|
||||
#SSO_CLIENT_SECRET=insecure_secret
|
||||
#SECRET_SSO_SECRET_VERSION=v1
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
> Open source password manager
|
||||
|
||||
<!-- metadata -->
|
||||
* **Maintainer**: [@fauno](https://git.coopcloud.tech/fauno), [@ammaratef45](https://git.coopcloud.tech/ammaratef45)
|
||||
* **Maintainer**: [@fauno](https://git.coopcloud.tech/fauno), [@ammaratef45](https://git.coopcloud.tech/ammaratef45), Local-IT: [@moritz](https://git.coopcloud.tech/moritz), [@msimon](https://git.coopcloud.tech/simon), [@carla](https://git.coopcloud.tech/carla)
|
||||
* **Category**: Apps
|
||||
* **Status**: 2, beta
|
||||
* **Image**: [`vaultwarden/server`](https://hub.docker.com/vaultwarden/server), 4, upstream
|
||||
@@ -47,3 +47,7 @@ LOG_LEVEL=warn
|
||||
Then follow [this guide](https://github.com/dani-garcia/vaultwarden/wiki/Fail2Ban-Setup).
|
||||
|
||||
And you must use `COMPOSE_FILE="$COMPOSE_FILE:compose.host.yml"` in your traefik config to get real IPs.
|
||||
|
||||
### Single Sign On with OpenID Connect (OIDC)
|
||||
|
||||
Uncomment the "Single Sign On" section in your app config. See the [upstream docs](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-SSO-support-using-OpenId-Connect) for more, including specific configuration examples for Keycloak and Authentik.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export APP_ENTRYPOINT_VERSION=v4
|
||||
export APP_ENTRYPOINT_VERSION=v5
|
||||
APP_DIR="app:/data"
|
||||
|
||||
insert_vaultwarden_admin_token() {
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- SSO_ENABLED=true
|
||||
- SSO_ONLY
|
||||
- SSO_AUTHORITY
|
||||
- SSO_SCOPES
|
||||
- SSO_PKCE
|
||||
- SSO_CLIENT_ID
|
||||
- SSO_CLIENT_SECRET_FILE=/run/secrets/sso_secret
|
||||
secrets:
|
||||
- sso_secret
|
||||
|
||||
secrets:
|
||||
sso_secret:
|
||||
external: true
|
||||
name: ${STACK_NAME}_sso_secret_${SECRET_SSO_SECRET_VERSION}
|
||||
+4
-2
@@ -3,10 +3,12 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: vaultwarden/server:1.36.0
|
||||
image: vaultwarden/server:1.37.2
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=${DISABLE_IPV6:-1}
|
||||
environment:
|
||||
- "DOMAIN=https://$DOMAIN"
|
||||
- "WEBSOCKET_ENABLED=$WEBSOCKET_ENABLED"
|
||||
@@ -43,7 +45,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.2.0+1.36.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.3.3+1.37.2"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/data"
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ file_env "ADMIN_TOKEN"
|
||||
file_env "SMTP_PASSWORD"
|
||||
{{ end }}
|
||||
|
||||
{{ if eq (env "SSO_ENABLED") "true" }}
|
||||
file_env "SSO_CLIENT_SECRET"
|
||||
{{ end }}
|
||||
|
||||
# remove world permissions on data
|
||||
chmod -R o= /data
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
To enable ipv6 set DISABLE_IPV6=0
|
||||
+4
-1
@@ -5,6 +5,9 @@
|
||||
],
|
||||
"reviewers": [
|
||||
"ammaratef45",
|
||||
"fauno"
|
||||
"fauno",
|
||||
"moritz",
|
||||
"simon",
|
||||
"carla"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user