mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
set gateway fpm timeout
This commit is contained in:
2
.env
2
.env
@@ -13,6 +13,8 @@ RABBITMQ_MANAGEMENT_PORT=10811
|
||||
MYSQL_ROOT_PASSWORD=root
|
||||
SERVER_NAME=phraseanet-docker
|
||||
|
||||
# --------------- GATEWAY TIMEOUT -----------------------
|
||||
$GATEWAY_SEND_TIMEOUT=120
|
||||
|
||||
# --------------- PHP CONFIGURATION --------------------
|
||||
|
||||
|
@@ -19,6 +19,7 @@ services:
|
||||
- phraseanet
|
||||
environment:
|
||||
- MAX_BODY_SIZE
|
||||
- GATEWAY_SEND_TIMEOUT
|
||||
ports:
|
||||
- ${PHRASEANET_APP_PORT}:80
|
||||
|
||||
|
@@ -3,5 +3,6 @@
|
||||
set -xe
|
||||
|
||||
cat /nginx.conf.sample | sed "s/\$MAX_BODY_SIZE/$MAX_BODY_SIZE/g" > /etc/nginx/conf.d/default.conf
|
||||
cat /nginx.conf.sample | sed "s/\$GATEWAY_SEND_TIMEOUT/$GATEWAY_SEND_TIMEOUT/g" > /etc/nginx/conf.d/default.conf
|
||||
|
||||
exec "$@"
|
||||
|
Reference in New Issue
Block a user