From 2248627c986d2b7eeb0796cdb3fad2d8b2bff23f Mon Sep 17 00:00:00 2001 From: LeoGomide Date: Wed, 3 Jun 2026 10:43:51 -0300 Subject: [PATCH] fix(plane): move env/mounts under [config] so template env exports correctly The v1.3.1 rewrite (669ad4a) reordered template.toml so that [[config.domains]] preceded the bare `env = [...]` and `mounts = []` keys. In TOML those keys then attach to the first config.domains table element instead of [config], leaving config.env undefined. Dokploy reads env from config.env, so the base64 export / deploy shipped with no environment variables at all. Move env/mounts back above [[config.domains]] (matching the original template and other blueprints like documenso). config.env now resolves to all 39 entries; the domain table keeps only serviceName/port/host. Co-Authored-By: Claude Opus 4.8 (1M context) --- blueprints/plane/template.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blueprints/plane/template.toml b/blueprints/plane/template.toml index bbe23622..24a9de67 100644 --- a/blueprints/plane/template.toml +++ b/blueprints/plane/template.toml @@ -8,11 +8,6 @@ secret_key = "${base64:48}" live_secret_key = "${base64:48}" [config] -[[config.domains]] -serviceName = "proxy" -port = 80 -host = "${main_domain}" - env = [ "APP_RELEASE=${app_release}", "APP_DOMAIN=${main_domain}", @@ -60,3 +55,8 @@ env = [ ] mounts = [] + +[[config.domains]] +serviceName = "proxy" +port = 80 +host = "${main_domain}"