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.
22 lines
580 B
INI
22 lines
580 B
INI
; TryPost — PHP settings for local development.
|
|
memory_limit = 512M
|
|
upload_max_filesize = 1G
|
|
post_max_size = 1G
|
|
max_execution_time = 120
|
|
max_input_vars = 5000
|
|
|
|
; Hot-reload PHP edits without restarting FPM.
|
|
opcache.enable = 1
|
|
opcache.memory_consumption = 128
|
|
opcache.max_accelerated_files = 10000
|
|
opcache.validate_timestamps = 1
|
|
opcache.revalidate_freq = 0
|
|
|
|
; Surface errors loudly in dev.
|
|
display_errors = On
|
|
display_startup_errors = On
|
|
error_reporting = E_ALL
|
|
log_errors = On
|
|
error_log = /proc/self/fd/2
|
|
|
|
; Xdebug optional — enable via XDEBUG_MODE in compose.override.yaml.
|