1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-08 23:20:40 +02:00

config file for upload sizes on wordpress image(docker-compose)

This commit is contained in:
itstimetogoleft
2019-03-19 07:06:51 -07:00
parent e576a16edb
commit b72e03e84d
2 changed files with 11 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ services:
WORDPRESS_HOST: http://wordpress
NGINX_HOST: http://nginx
NGINX_CACHE: /var/cache/nginx/data
command: [ node, /opt/example/server/index.js ]
command: [node, /opt/example/server/index.js]
restart: always
db:
image: mariadb:10
@@ -47,6 +47,8 @@ services:
depends_on:
- db
image: wordpress:latest
volumes:
- ./server/wordpress/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
networks:
network:
ipv4_address: 172.129.0.5
@@ -62,6 +64,6 @@ networks:
network:
driver: bridge
ipam:
config:
- subnet: 172.129.0.0/16
gateway: 172.129.0.1
config:
- subnet: 172.129.0.0/16
gateway: 172.129.0.1

View File

@@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600