Skip to content

Commit a9776c3

Browse files
committed
5603: Aligned development service config with prod config
1 parent 638781f commit a9776c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.override.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@ include:
66
services:
77
phpfpm:
88
image: itkdev/php8.4-fpm:latest
9+
environment:
10+
- PHP_MAX_EXECUTION_TIME=30
11+
- PHP_POST_MAX_SIZE=90M
12+
- PHP_UPLOAD_MAX_FILESIZE=80M
13+
- PHP_MEMORY_LIMIT=512M
914

1015
nginx:
1116
labels:
1217
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=redirect-to-https"
1318
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
1419
# Let the container be accessible both internally and externally on the same domain.
1520
container_name: ${COMPOSE_DOMAIN}
21+
environment:
22+
# Match PHP_UPLOAD_MAX_FILESIZE (plus a little more)
23+
NGINX_MAX_BODY_SIZE: 90M
1624

1725
node:
1826
image: node:22

0 commit comments

Comments
 (0)