2021-06-28 11:42:02 +00:00
|
|
|
---
|
|
|
|
version: "3.8"
|
|
|
|
|
2021-06-28 12:03:49 +00:00
|
|
|
# WARNING: Only available in the server pro edition
|
|
|
|
|
2021-06-28 11:42:02 +00:00
|
|
|
services:
|
|
|
|
app:
|
|
|
|
configs:
|
|
|
|
- source: oidc_conf
|
|
|
|
target: /etc/rstudio/openid-client-secret
|
|
|
|
mode: 0600
|
|
|
|
environment:
|
|
|
|
- OIDC_CLIENT_ID
|
|
|
|
- OIDC_ENABLED
|
|
|
|
- OIDC_ISSUER_URL
|
|
|
|
secrets:
|
|
|
|
- oidc_client_secret
|
|
|
|
|
|
|
|
configs:
|
|
|
|
oidc_conf:
|
|
|
|
name: ${STACK_NAME}_oidc_conf_${OIDC_CONF_VERSION}
|
|
|
|
file: oidc.conf.tmpl
|
|
|
|
template_driver: golang
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
oidc_client_secret:
|
|
|
|
name: ${STACK_NAME}_oidc_client_secret_${SECRET_OIDC_CLIENT_SECRET}
|
|
|
|
external: true
|