mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
- Introduced Docker Compose setup for Codex service, including environment variables and volume configuration. - Added logo for Codex. - Created template.toml for Codex with default variables for configuration.
23 lines
624 B
TOML
23 lines
624 B
TOML
[variables]
|
|
MONGO_PASSWORD = "${password:16}"
|
|
AUTH_PASSWORD = "${password:16}"
|
|
AUTH_SECRET = "${password:32}"
|
|
|
|
[config]
|
|
[[config.domains]]
|
|
serviceName = "codex"
|
|
port = 3000
|
|
host = "${domain}"
|
|
|
|
[config.env]
|
|
MONGO_PASSWORD = "${MONGO_PASSWORD}"
|
|
AUTH_PASSWORD = "${AUTH_PASSWORD}"
|
|
AUTH_SECRET = "${AUTH_SECRET}"
|
|
MONGO_USERNAME = "mongo"
|
|
|
|
[[config.mounts]]
|
|
filePath = "/docs-config.yaml"
|
|
content = """
|
|
# Custom Config, view Here https://github.com/codex-team/codex.docs/blob/main/docs-config.yaml
|
|
# Can Also Be configured with ENV, see here https://docs.codex.so/configuration#override-properties-with-environment-variables
|
|
""" |