mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
postgres_password = "${password:32}"
|
|
stack_auth_api_url = "${main_domain}"
|
|
stack_auth_dashboard_url = "${main_domain}"
|
|
stack_auth_postgres_host = "db"
|
|
|
|
[config.env]
|
|
POSTGRES_USER = "postgres"
|
|
POSTGRES_PASSWORD = "${postgres_password}"
|
|
POSTGRES_DB = "stackframe"
|
|
NEXT_PUBLIC_STACK_API_URL = "${stack_auth_api_url}"
|
|
NEXT_PUBLIC_STACK_DASHBOARD_URL = "${stack_auth_dashboard_url}"
|
|
|
|
STACK_DATABASE_CONNECTION_STRING = "postgres://postgres:${postgres_password}@${stack_auth_postgres_host}:5432/stackframe"
|
|
STACK_DIRECT_DATABASE_CONNECTION_STRING = "postgres://postgres:${postgres_password}@${stack_auth_postgres_host}:5432/stackframe"
|
|
|
|
STACK_SERVER_SECRET = "${password:64}"
|
|
STACK_SEED_INTERNAL_PROJECT_ALLOW_LOCALHOST = true
|
|
STACK_SEED_INTERNAL_PROJECT_SIGN_UP_ENABLED = true
|
|
|
|
STACK_RUN_MIGRATIONS = true
|
|
STACK_RUN_SEED_SCRIPT = true
|
|
|
|
[[config.domains]]
|
|
serviceName = "stack-auth"
|
|
port = 8102
|
|
host = "${stack_auth_api_url}"
|
|
path = "/"
|
|
|
|
[[config.domains]]
|
|
serviceName = "stack-auth"
|
|
port = 8101
|
|
host = "${stack_auth_dashboard_url}"
|
|
path = "/"
|