Skip to content

Commit 57e0186

Browse files
committed
1322: Updated docker compose setup
1 parent 9470de3 commit 57e0186

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

.docker/templates/default.conf.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ server {
44

55
root ${NGINX_WEB_ROOT};
66

7+
client_max_body_size ${NGINX_MAX_BODY_SIZE};
8+
79
location = /favicon.ico {
810
log_not_found off;
911
access_log off;

docker-compose.dev.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# itk-version: 3.2.0
2-
version: "3.8"
3-
1+
# itk-version: 3.2.1
42
services:
53
phpfpm:
64
environment:

docker-compose.redirect.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# itk-version: 3.2.0
2-
version: "3.8"
3-
1+
# itk-version: 3.2.1
42
services:
53
nginx:
64
labels:

docker-compose.server.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# itk-version: 3.2.0
2-
version: "3.8"
3-
1+
# itk-version: 3.2.1
42
networks:
53
frontend:
64
external: true
@@ -41,6 +39,7 @@ services:
4139
NGINX_FPM_SERVICE: ${COMPOSE_PROJECT_NAME}-phpfpm-1:9000
4240
NGINX_WEB_ROOT: /app/web
4341
NGINX_PORT: 8080
42+
NGINX_MAX_BODY_SIZE: 5M
4443
labels:
4544
- "traefik.enable=true"
4645
- "traefik.docker.network=frontend"

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# itk-version: 3.2.0
2-
version: "3.8"
3-
1+
# itk-version: 3.2.1
42
networks:
53
frontend:
64
external: true
@@ -62,6 +60,7 @@ services:
6260
NGINX_FPM_SERVICE: ${COMPOSE_PROJECT_NAME}-phpfpm-1:9000
6361
NGINX_WEB_ROOT: /app/web
6462
NGINX_PORT: 8080
63+
NGINX_MAX_BODY_SIZE: 5M
6564
labels:
6665
- "traefik.enable=true"
6766
- "traefik.docker.network=frontend"

0 commit comments

Comments
 (0)