diff --git a/docker-compose.yml b/docker-compose.yml index 1853dea..0480271 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: wp: image: wordpress:5-apache volumes: + - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini - ./data/wp:/var/www/html - ./liquet:/var/www/html/wp-content/themes/liquet:ro ports: @@ -15,11 +16,4 @@ services: restart: always volumes: - ./data/db:/var/lib/mysql - env_file: .env - - - # adminer: - # image: adminer - # restart: always - # ports: - # - 8080:8080 \ No newline at end of file + env_file: .env \ No newline at end of file diff --git a/uploads.ini b/uploads.ini new file mode 100644 index 0000000..30b980f --- /dev/null +++ b/uploads.ini @@ -0,0 +1,5 @@ +file_uploads = On +memory_limit = 64M +upload_max_filesize = 64M +post_max_size = 64M +max_execution_time = 300 \ No newline at end of file