fix(docker): drop stripe envs and bump upload limits to 1G

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.
This commit is contained in:
André Dantas 2026-05-10 20:29:48 -03:00
parent 82c06aa215
commit 7d3b8a478e
4 changed files with 5 additions and 19 deletions

View file

@ -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=

View file

@ -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;

View file

@ -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

View file

@ -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