mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
chore: add yaml and toml dependencies, and create script for converting YAML to TOML
- Added 'yaml' and '@iarna/toml' dependencies in package.json. - Created a new script.js file to process YAML files and convert them to TOML format. - Added template.toml files for various blueprints in the blueprints directory.
This commit is contained in:
30
blueprints/chatwoot/template.toml
Normal file
30
blueprints/chatwoot/template.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
secret_key_base = "${base64:64}"
|
||||
postgres_password = "${password}"
|
||||
|
||||
[config]
|
||||
env = [
|
||||
"FRONTEND_URL=http://${main_domain}",
|
||||
"SECRET_KEY_BASE=${secret_key_base}",
|
||||
"RAILS_ENV=production",
|
||||
"NODE_ENV=production",
|
||||
"INSTALLATION_ENV=docker",
|
||||
"RAILS_LOG_TO_STDOUT=true",
|
||||
"LOG_LEVEL=info",
|
||||
"DEFAULT_LOCALE=en",
|
||||
"POSTGRES_HOST=chatwoot-postgres",
|
||||
"POSTGRES_PORT=5432",
|
||||
"POSTGRES_DATABASE=chatwoot",
|
||||
"POSTGRES_USERNAME=postgres",
|
||||
"POSTGRES_PASSWORD=${postgres_password}",
|
||||
"REDIS_URL=redis://chatwoot-redis:6379",
|
||||
"ENABLE_ACCOUNT_SIGNUP=false",
|
||||
"ACTIVE_STORAGE_SERVICE=local"
|
||||
]
|
||||
mounts = [ ]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "chatwoot-rails"
|
||||
port = 3_000
|
||||
host = "${main_domain}"
|
||||
Reference in New Issue
Block a user