Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c818aaf6d | |||
| 5b1366eb7b |
32
.env.sample
32
.env.sample
@ -1,7 +1,6 @@
|
||||
SECRET_DB_PASSWORD_VERSION=v1
|
||||
SECRET_ADMIN_PASSWORD_VERSION=v1
|
||||
SECRET_SIGNING_SECRET_VERSION=v1
|
||||
SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
|
||||
TYPE=directus
|
||||
|
||||
@ -14,14 +13,39 @@ DOMAIN=directus.example.com
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
ENABLE_BACKUPS=true
|
||||
|
||||
ADMIN_EMAIL=mail@example.com
|
||||
|
||||
# if you don't use smtp, sendmail is used
|
||||
# EMAIL_TRANSPORT=smtp
|
||||
#EMAIL_FROM=noreply@example.com
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||
# SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
# EMAIL_FROM=noreply@example.com
|
||||
# EMAIL_SMTP_USER=
|
||||
# EMAIL_SMTP_HOST=mailhost.com
|
||||
# EMAIL_SMTP_PORT=465
|
||||
# EMAIL_SMTP_SECURE=true
|
||||
# EMAIL_SMTP_SECURE=true
|
||||
|
||||
|
||||
## SSO (via OpenId)
|
||||
|
||||
# Details about env-vars, the once below are necessary, others can be used as well:
|
||||
# https://directus.io/docs/configuration/auth-sso#openid-connect
|
||||
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.oidc.yml"
|
||||
#SECRET_SIGNING_OIDC_VERSION=v1
|
||||
|
||||
#AUTH_DISABLE_DEFAULT="false"
|
||||
#AUTH_SSO_LABEL="Single-Sign On"
|
||||
#AUTH_SSO_CLIENT_ID="<your-client-id>"
|
||||
#AUTH_SSO_ISSUER_URL="<your-.wellknown-issuer-url"
|
||||
#AUTH_SSO_ALLOW_PUBLIC_REGISTRATION="true"
|
||||
#AUTH_SSO_DEFAULT_ROLE_ID="<UUID-of-a-user-role>"
|
||||
#AUTH_SSO_SYNC_USER_INFO="true"
|
||||
#AUTH_SSO_SCOPE="openid profile email"
|
||||
|
||||
# https://directus.io/docs/configuration/auth-sso
|
||||
# if you need more/other provider(s), consult docs on how to override compose.yml:
|
||||
# https://docs.coopcloud.tech/operators/handbook/#how-can-i-modifyoverride-the-composeyml-file
|
||||
|
||||
@ -70,7 +70,7 @@ services:
|
||||
## Redirect HTTP to HTTPS
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.0+11"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.3.1+11"
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://0.0.0.0:8055/server/health | grep -q '\"status\":\"ok\"'"]
|
||||
|
||||
1
release/0.3.0+11
Normal file
1
release/0.3.0+11
Normal file
@ -0,0 +1 @@
|
||||
added sso and smtp, two secrets are now optional
|
||||
1
release/0.3.1+11
Normal file
1
release/0.3.1+11
Normal file
@ -0,0 +1 @@
|
||||
added example env for sso
|
||||
Reference in New Issue
Block a user