diff options
Diffstat (limited to 'utils/Docker/docker-compose.yml')
-rw-r--r-- | utils/Docker/docker-compose.yml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/utils/Docker/docker-compose.yml b/utils/Docker/docker-compose.yml index 1a7dcf6..e1f8a58 100644 --- a/utils/Docker/docker-compose.yml +++ b/utils/Docker/docker-compose.yml @@ -20,12 +20,14 @@ services: - ./www/log/:/var/log/apache2/
networks:
- default
+ environment:
+ - REALPATH_CACHE_SIZE=32M
mysql:
container_name: mysql_1ka
- ##image: mariadb:10.3
- image: mysql:5.6.40
- ports:
+ image: mariadb:10.3
+ ##image: mysql:5.6.40
+ ports:
- "3306:3306"
volumes:
- ./sql/database:/var/lib/mysql
@@ -38,7 +40,9 @@ services: - MYSQL_ROOT_PASSWORD=1234
- MYSQL_PASSWORD=1234
- MYSQL_DATABASE=1ka
- - MYSQL_ALLOW_EMPTY_PASSWORD=true
+ - MYSQL_ALLOW_EMPTY_PASSWORD=true
+ - REALPATH_CACHE_SIZE=32M
+ command: mysqld --sql_mode="" --innodb-flush-method=fsync
phpmyadmin:
container_name: phpmyadmin_1ka
@@ -50,6 +54,10 @@ services: environment:
- PMA_HOST=mysql
- PMA_PORT=3306
+ - UPLOAD_LIMIT=300M
+ - MAX_EXECUTION_TIME=1200
+ - MEMORY_LIMIT=1024M
+ - REALPATH_CACHE_SIZE=32M
networks:
- default
|