Commit b8f1ad9 1 parent 32bf10b commit b8f1ad9 Copy full SHA for b8f1ad9
File tree 4 files changed +29
-0
lines changed
4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,9 @@ services:
177
177
# container_name: phpmyadmin
178
178
# ports:
179
179
# - "${PHPMYADMIN_HOST_PORT}:80"
180
+ # volumes:
181
+ # - ${PHPMYADMIN_USER_CONF_FILE}:/etc/phpmyadmin/config.user.inc.php:ro
182
+ # - ${PHPMYADMIN_PHP_CONF_FILE}:/usr/local/etc/php/conf.d/php-phpmyadmin.ini:ro
180
183
# networks:
181
184
# - default
182
185
# environment:
Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ MEMCACHED_CACHE_SIZE=128
177
177
# phpMyAdmin
178
178
#
179
179
PHPMYADMIN_HOST_PORT=8080
180
+ PHPMYADMIN_USER_CONF_FILE=./services/phpmyadmin/config.user.inc.php
181
+ PHPMYADMIN_PHP_CONF_FILE=./services/phpmyadmin/php-phpmyadmin.ini
180
182
181
183
#
182
184
# redisMyAdmin
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * @example https://docs.phpmyadmin.net/en/latest/config.html
4
+ */
Original file line number Diff line number Diff line change
1
+ [PHP]
2
+ allow_url_fopen = Off
3
+ max_execution_time = 600
4
+ memory_limit = 512M
5
+ open_basedir = /var/www/html:/tmp/:/etc/phpmyadmin/
6
+ post_max_size = 512M
7
+ upload_max_filesize = 512M
8
+
9
+ [Session]
10
+ session.cookie_httponly = 1
11
+ session.hash_function = 1
12
+ session.save_path = " /sessions"
13
+ session.use_strict_mode = 1
14
+
15
+ [opcache]
16
+ opcache.fast_shutdown = 1
17
+ opcache.restrict_api = /disabled/
18
+ opcache.save_comments = 0
19
+ opcache.use_cwd = 0
20
+ opcache.validate_timestamps = 0
You can’t perform that action at this time.
0 commit comments