Files
templates/blueprints/chatwoot/template.toml
Mauricio Siu e6f7ede9a7 fix: don't force SSL by default so Chatwoot works on http domains
FORCE_SSL=true + FRONTEND_URL=https:// made Rails 301-redirect every
request to https, which Traefik answered with a sustained 404 because
Dokploy-generated template domains are http-only. Default to
FORCE_SSL=false and FRONTEND_URL=http://${main_domain} (matching the
repo convention); users who terminate TLS can flip these afterwards.

Verified on a Dokploy instance: fresh deploy of chatwoot/chatwoot:v4.12.1
migrates and answers HTTP 200 with the onboarding page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 02:16:26 -06:00

34 lines
820 B
TOML

[variables]
main_domain = "${domain}"
secret_key_base = "${hash:64}"
postgres_password = "${password}"
redis_password = "${password}"
[config]
env = [
"FRONTEND_URL=http://${main_domain}",
"SECRET_KEY_BASE=${secret_key_base}",
"FORCE_SSL=false",
"RAILS_ENV=production",
"NODE_ENV=production",
"INSTALLATION_ENV=docker",
"RAILS_LOG_TO_STDOUT=true",
"LOG_LEVEL=info",
"DEFAULT_LOCALE=en",
"POSTGRES_HOST=postgres",
"POSTGRES_PORT=5432",
"POSTGRES_DATABASE=chatwoot",
"POSTGRES_USERNAME=postgres",
"POSTGRES_PASSWORD=${postgres_password}",
"REDIS_URL=redis://:${redis_password}@redis:6379",
"REDIS_PASSWORD=${redis_password}",
"ENABLE_ACCOUNT_SIGNUP=false",
"ACTIVE_STORAGE_SERVICE=local",
]
mounts = []
[[config.domains]]
serviceName = "chatwoot"
port = 3_000
host = "${main_domain}"