mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
refactor: standardize domain configuration in template files
- Updated the configuration structure in multiple blueprint template files to ensure consistent formatting for 'domains' and 'env' sections. - Adjusted indentation and alignment for better readability across various templates.
This commit is contained in:
@@ -11,7 +11,7 @@ env = [
|
||||
"AP_API_KEY=${api_key}",
|
||||
"AP_ENCRYPTION_KEY=${encryption_key}",
|
||||
"AP_JWT_SECRET=${jwt_secret}",
|
||||
"AP_POSTGRES_PASSWORD=${postgres_password}"
|
||||
"AP_POSTGRES_PASSWORD=${postgres_password}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ main_domain = "${domain}"
|
||||
service_hash = "${hash:32}"
|
||||
|
||||
[config]
|
||||
env = [
|
||||
"ANSWER_HOST=http://${main_domain}",
|
||||
"SERVICE_HASH=${service_hash}"
|
||||
]
|
||||
env = ["ANSWER_HOST=http://${main_domain}", "SERVICE_HASH=${service_hash}"]
|
||||
mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
|
||||
@@ -120,7 +120,7 @@ env = [
|
||||
"_APP_GRAPHQL_MAX_DEPTH=3",
|
||||
"_APP_MIGRATIONS_FIREBASE_CLIENT_ID=",
|
||||
"_APP_MIGRATIONS_FIREBASE_CLIENT_SECRET=",
|
||||
"_APP_ASSISTANT_OPENAI_API_KEY="
|
||||
"_APP_ASSISTANT_OPENAI_API_KEY=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ env = [
|
||||
"TZ=Etc/UTC",
|
||||
"SUBFOLDER=/",
|
||||
"NVIDIA_VISIBLE_DEVICES=all",
|
||||
"NVIDIA_DRIVER_CAPABILITIES=all"
|
||||
"NVIDIA_DRIVER_CAPABILITIES=all",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ browserless_token = "${password:16}"
|
||||
[config]
|
||||
env = [
|
||||
"BROWERLESS_HOST=${main_domain}",
|
||||
"BROWSERLESS_TOKEN=${browserless_token}"
|
||||
"BROWSERLESS_TOKEN=${browserless_token}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ env = [
|
||||
"BB_REDIS_PASSWORD=${redis_password}",
|
||||
"BB_WATCHTOWER_PASSWORD=${watchtower_password}",
|
||||
"BB_MINIO_ACCESS_KEY=${minio_access_key}",
|
||||
"BB_MINIO_SECRET_KEY=${minio_secret_key}"
|
||||
"BB_MINIO_SECRET_KEY=${minio_secret_key}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ nextauth_secret = "${base64:32}"
|
||||
env = [
|
||||
"CALCOM_HOST=${main_domain}",
|
||||
"NEXTAUTH_SECRET=${nextauth_secret}",
|
||||
"CALENDSO_ENCRYPTION_KEY=${calcom_encryption_key}"
|
||||
"CALENDSO_ENCRYPTION_KEY=${calcom_encryption_key}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ env = [
|
||||
"POSTGRES_PASSWORD=${postgres_password}",
|
||||
"REDIS_URL=redis://chatwoot-redis:6379",
|
||||
"ENABLE_ACCOUNT_SIGNUP=false",
|
||||
"ACTIVE_STORAGE_SERVICE=local"
|
||||
"ACTIVE_STORAGE_SERVICE=local",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ env = [
|
||||
"CODER_HTTP_ADDRESS=0.0.0.0:7080",
|
||||
"POSTGRES_DB=coder",
|
||||
"POSTGRES_USER=coder",
|
||||
"POSTGRES_PASSWORD=${postgres_password}"
|
||||
"POSTGRES_PASSWORD=${postgres_password}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ registration_token = "${password:20}"
|
||||
[config]
|
||||
env = [
|
||||
"CONDUWUIT_SERVER_NAME=${main_domain}",
|
||||
"CONDUWUIT_REGISTRATION_TOKEN=${registration_token}"
|
||||
"CONDUWUIT_REGISTRATION_TOKEN=${registration_token}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ actions_domain = "${domain}"
|
||||
env = [
|
||||
"NEXT_PUBLIC_DEPLOYMENT_URL=http://${backend_domain}",
|
||||
"CONVEX_CLOUD_ORIGIN=http://${backend_domain}",
|
||||
"CONVEX_SITE_ORIGIN=http://${actions_domain}"
|
||||
"CONVEX_SITE_ORIGIN=http://${actions_domain}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ database_password = "${password}"
|
||||
[config]
|
||||
env = [
|
||||
"DATABASE_PASSWORD=${database_password}",
|
||||
"DIRECTUS_SECRET=${directus_secret}"
|
||||
"DIRECTUS_SECRET=${directus_secret}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ env = [
|
||||
"# Follow the guide at: https://discordtickets.app/self-hosting/installation/docker/#creating-the-discord-application",
|
||||
"DISCORD_SECRET=",
|
||||
"DISCORD_TOKEN=",
|
||||
"SUPER_USERS=YOUR_DISCORD_USER_ID"
|
||||
"SUPER_USERS=YOUR_DISCORD_USER_ID",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ redis_password = "${password}"
|
||||
env = [
|
||||
"DISCOURSE_HOST=${main_domain}",
|
||||
"POSTGRES_PASSWORD=${postgres_password}",
|
||||
"REDIS_PASSWORD=${redis_password}"
|
||||
"REDIS_PASSWORD=${redis_password}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ env = [
|
||||
"POSTGRES_USER=docmost",
|
||||
"POSTGRES_PASSWORD=${postgres_password}",
|
||||
"APP_URL=http://${main_domain}:3000",
|
||||
"APP_SECRET=${app_secret}"
|
||||
"APP_SECRET=${app_secret}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ env = [
|
||||
"DOCUMENSO_PORT=3000",
|
||||
"NEXTAUTH_SECRET=${nextauth_secret}",
|
||||
"NEXT_PRIVATE_ENCRYPTION_KEY=${encryption_key}",
|
||||
"NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY=${secondary_encryption_key}"
|
||||
"NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY=${secondary_encryption_key}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ env = [
|
||||
"AWS_SECRET_ACCESS_KEY=your-aws-secret-key",
|
||||
"AWS_REGION=your-aws-region",
|
||||
"SQS_URL=your-aws-sqs-url",
|
||||
"SYSTEM_EMAIL="
|
||||
"SYSTEM_EMAIL=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ main_domain = "${domain}"
|
||||
env = [
|
||||
"DRAWIO_HOST=${main_domain}",
|
||||
"DRAWIO_BASE_URL=https://${main_domain}",
|
||||
"DRAWIO_SERVER_URL=https://${main_domain}/"
|
||||
"DRAWIO_SERVER_URL=https://${main_domain}/",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ env = [
|
||||
"INSTALL_APP_ARGS=--install-app erpnext",
|
||||
"IMAGE_NAME=docker.io/frappe/erpnext",
|
||||
"VERSION=version-15",
|
||||
"FRAPPE_SITE_NAME_HEADER="
|
||||
"FRAPPE_SITE_NAME_HEADER=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ env = [
|
||||
"CACHE_REDIS_ENABLED=true",
|
||||
"CACHE_REDIS_URI=redis://evolution-redis:6379",
|
||||
"CACHE_REDIS_PREFIX_KEY=evolution",
|
||||
"CACHE_REDIS_SAVE_INSTANCES=true"
|
||||
"CACHE_REDIS_SAVE_INSTANCES=true",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ env = [
|
||||
"NEXTAUTH_URL=http://${main_domain}",
|
||||
"NEXTAUTH_SECRET=${secret_base}",
|
||||
"ENCRYPTION_KEY=${encryption_key}",
|
||||
"CRON_SECRET=${cron_secret}"
|
||||
"CRON_SECRET=${cron_secret}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ env = [
|
||||
"INSTALL_APP_ARGS=--install-app hrms",
|
||||
"IMAGE_NAME=ghcr.io/frappe/hrms",
|
||||
"VERSION=version-15",
|
||||
"FRAPPE_SITE_NAME_HEADER="
|
||||
"FRAPPE_SITE_NAME_HEADER=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ secret_key = "${base64:32}"
|
||||
env = [
|
||||
"GLITCHTIP_HOST=${main_domain}",
|
||||
"GLITCHTIP_PORT=8000",
|
||||
"SECRET_KEY=${secret_key}"
|
||||
"SECRET_KEY=${secret_key}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ password = "changethis"
|
||||
[config]
|
||||
env = [
|
||||
"GOTENBERG_API_BASIC_AUTH_USERNAME=${username}",
|
||||
"GOTENBERG_API_BASIC_AUTH_PASSWORD=${password}"
|
||||
"GOTENBERG_API_BASIC_AUTH_PASSWORD=${password}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ form_encryption_key = "${base64:64}"
|
||||
env = [
|
||||
"APP_HOMEPAGE_URL=http://${main_domain}",
|
||||
"SESSION_KEY=${session_key}",
|
||||
"FORM_ENCRYPTION_KEY=${form_encryption_key}"
|
||||
"FORM_ENCRYPTION_KEY=${form_encryption_key}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ env = [
|
||||
"MAIL_HOST=",
|
||||
"MAIL_PORT=",
|
||||
"MAIL_FROM_ADDRESS=",
|
||||
"MAIL_FROM_NAME="
|
||||
"MAIL_FROM_NAME=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ meili_master_key = "${base64:32}"
|
||||
env = [
|
||||
"NEXTAUTH_SECRET=${next_secret}",
|
||||
"MEILI_MASTER_KEY=${meili_master_key}",
|
||||
"NEXTAUTH_URL=http://${main_domain}"
|
||||
"NEXTAUTH_URL=http://${main_domain}",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ env = [
|
||||
"TITLE=Huly",
|
||||
"DEFAULT_LANGUAGE=en",
|
||||
"LAST_NAME_FIRST=true",
|
||||
"SECRET=${huly_secret}"
|
||||
"SECRET=${huly_secret}",
|
||||
]
|
||||
|
||||
[[config.domains]]
|
||||
|
||||
@@ -16,7 +16,7 @@ env = [
|
||||
"REDIS_HOSTNAME=immich-redis",
|
||||
"REDIS_PORT=6379",
|
||||
"REDIS_DBINDEX=0",
|
||||
"TZ=UTC"
|
||||
"TZ=UTC",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ env = [
|
||||
"NEXT_PUBLIC_CAPTCHA_SITE_KEY=",
|
||||
"PLAIN_API_KEY=",
|
||||
"PLAIN_WISH_LABEL_IDS=",
|
||||
"SSL_CLIENT_CERTIFICATE_HEADER_KEY="
|
||||
"SSL_CLIENT_CERTIFICATE_HEADER_KEY=",
|
||||
]
|
||||
mounts = []
|
||||
|
||||
|
||||
@@ -4,15 +4,15 @@ encryption_password = "${password:32}"
|
||||
encryption_salt = "${password:32}"
|
||||
api_secret = "${password:32}"
|
||||
|
||||
[[config.domains]]
|
||||
[config]
|
||||
[config.domains]
|
||||
serviceName = "lowcoder-api-service"
|
||||
port = 3000
|
||||
host = "${main_domain}"
|
||||
|
||||
[[config.env]]
|
||||
[config.env]
|
||||
ENABLE_USER_SIGN_UP = false
|
||||
ENCRYPTION_PASSWORD = "${encryption_password}"
|
||||
ENCRYPTION_SALT = "${encryption_salt}"
|
||||
CORS_ALLOWED_DOMAINS = "*"
|
||||
LOWCODER_API_KEY_SECRET = "${api_secret}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user