From 7d3b8a478e0d2771159516d88bfadeb50abab9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Dantas?= Date: Sun, 10 May 2026 20:29:48 -0300 Subject: [PATCH] fix(docker): drop stripe envs and bump upload limits to 1G MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two adjustments from the PR review. Stripe placeholders (STRIPE_KEY, STRIPE_SECRET, STRIPE_WEBHOOK_SECRET, and the eight price IDs) only matter when SELF_HOSTED=false. The Docker stack defaults to SELF_HOSTED=true, so keeping the block in .env.docker.example just adds noise for first-time contributors. upload_max_filesize and post_max_size go from 100M to 1G in both php.dev.ini and php.prod.ini to accept full-length video uploads. Bumping nginx client_max_body_size to match — otherwise the proxy would cut the request off before PHP ever sees it. --- docker/.env.docker.example | 14 -------------- docker/nginx.conf | 2 +- docker/php.dev.ini | 4 ++-- docker/php.prod.ini | 4 ++-- 4 files changed, 5 insertions(+), 19 deletions(-) diff --git a/docker/.env.docker.example b/docker/.env.docker.example index 0fe8e7d6..aaacd5fd 100644 --- a/docker/.env.docker.example +++ b/docker/.env.docker.example @@ -137,20 +137,6 @@ AI_TEXT_MODEL=gpt-5.4 AI_IMAGE_PROVIDER=openai AI_AUDIO_PROVIDER=elevenlabs -# Stripe (only required when SELF_HOSTED=false) -STRIPE_KEY= -STRIPE_SECRET= -STRIPE_WEBHOOK_SECRET= - -STRIPE_STARTER_MONTHLY= -STRIPE_STARTER_YEARLY= -STRIPE_PLUS_MONTHLY= -STRIPE_PLUS_YEARLY= -STRIPE_PRO_MONTHLY= -STRIPE_PRO_YEARLY= -STRIPE_MAX_MONTHLY= -STRIPE_MAX_YEARLY= - # Telemetry — disabled by default in Docker dev. NIGHTWATCH_ENABLED=false NIGHTWATCH_TOKEN= diff --git a/docker/nginx.conf b/docker/nginx.conf index 0682a919..91442bc9 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -6,7 +6,7 @@ server { index index.php; charset utf-8; - client_max_body_size 100M; + client_max_body_size 1G; location / { try_files $uri $uri/ /index.php?$query_string; diff --git a/docker/php.dev.ini b/docker/php.dev.ini index 58eb5391..e13eaaa9 100644 --- a/docker/php.dev.ini +++ b/docker/php.dev.ini @@ -1,7 +1,7 @@ ; TryPost — PHP settings for local development. memory_limit = 512M -upload_max_filesize = 100M -post_max_size = 100M +upload_max_filesize = 1G +post_max_size = 1G max_execution_time = 120 max_input_vars = 5000 diff --git a/docker/php.prod.ini b/docker/php.prod.ini index 9152b763..8bca98c6 100644 --- a/docker/php.prod.ini +++ b/docker/php.prod.ini @@ -1,7 +1,7 @@ ; TryPost — PHP settings for production. memory_limit = 256M -upload_max_filesize = 100M -post_max_size = 100M +upload_max_filesize = 1G +post_max_size = 1G max_execution_time = 60 max_input_vars = 5000