rstudio/compose.oidc.yml

29 lines
577 B
YAML

---
version: "3.8"
# WARNING: Only available in the server pro edition
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