Skip to content

Commit 533e28b

Browse files
committed
Update phpMyAdmin configuration and image version in docker-compose
1 parent fa3fe09 commit 533e28b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
TimeZone=America/New_York
22
OLS_VERSION=1.8.3
33
PHP_VERSION=lsphp83
4+
PHPMYADMIN_VERSION=5.2.3
45
MYSQL_DATABASE=wordpress
56
MYSQL_ROOT_PASSWORD=password
67
MYSQL_USER=wordpress

docker-compose.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ services:
3737
networks:
3838
- default
3939
phpmyadmin:
40-
image: bitnami/phpmyadmin:5.2.2
40+
image: phpmyadmin/phpmyadmin:${PHPMYADMIN_VERSION}
41+
env_file:
42+
- .env
4143
ports:
42-
- 8080:8080
43-
- 8443:8443
44+
- 8080:80
4445
environment:
45-
DATABASE_HOST: mysql
46+
PMA_HOST: mysql
4647
restart: always
4748
networks:
4849
- default
@@ -52,7 +53,7 @@ services:
5253
driver: none
5354
# command: redis-server --requirepass 8b405f60665e48f795752e534d93b722
5455
volumes:
55-
- ./redis/data:/var/lib/redis
56+
- ./redis/data:/data
5657
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
5758
environment:
5859
- REDIS_REPLICATION_MODE=master

0 commit comments

Comments
 (0)