Files
scim-examples/docker/swarm/scim.env
2022-11-28 14:07:01 -05:00

41 lines
2.2 KiB
Bash

# the following variables are options you can set for your SCIM Bridge
# uncomment the lines you need
# OP_LETSENCRYPT_DOMAIN should be set to the domain you want to use for your SCIM Bridge
# this will enable the complimentary LetsEncrypt challenge server
OP_LETSENCRYPT_DOMAIN=op-scim.example.com
# alternatively, you can set the variable to blank, which will cause the SCIM Bridge to serve on port 3002
#OP_LETSENCRYPT_DOMAIN=
# (ADVANCED) the options below aren't usually necessary during routine deployments, but can be used if you have a specific need
# OP_PORT can be used to override the port number when the SCIM Bridge is running on port 3002 (when OP_LETSENCRYPT_DOMAIN is blank)
#OP_PORT=3002
# OP_REDIS_URL can be set if you are hosting your redis server at a different location
# it can be set to a redis:// or rediss:// (for TLS) URL
OP_REDIS_URL=redis://redis:6379
# OP_PRETTY_LOGS can be set to '1' if you would like the SCIM bridge to output logs in a human-readable format, which can be useful if you're not planning on ingesting these logs externally
#OP_PRETTY_LOGS=1
# OP_DEBUG enables more detailed logging, which can be useful during troubleshooting or debugging
#OP_DEBUG=1
# OP_TRACE enables Trace-level debugging, primarily used to debug Let's Encrypt integration errors
#OP_TRACE=1
# OP_PING_SERVER brings up a `/ping` endpoint which can be useful for health checks
# It is disabled if OP_LETSENCRYPT_DOMAIN is unset
#OP_PING_SERVER=1
# OP_SESSION can be either the base64-encoded string of a `scimsession` file, or it can be the path to a `scimsession` file (as in a Docker Swarm Secret)
# examples: "OP_SESSION=abcdefg123456", "OP_SESSION=/path/to/scimsession"
# NOTE: this should not be changed when deploying with Docker Swarm
OP_SESSION=/run/secrets/scimsession
# (GOOGLE WORKSPACE) the options below are intended for users of our Google Workspace integration
# OP_WORKSPACE_CREDENTIALS should be the path to your Google Service Account JSON credentials file, stored as a Docker Swarm Secret
OP_WORKSPACE_CREDENTIALS=/run/secrets/workspace-credentials
# OP_WORKSPACE_SETTINGS should be the path to your bridge settings JSON file, stored as a Docker Swarm Secret
OP_WORKSPACE_SETTINGS=/run/secrets/workspace-settings