-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
30 lines (29 loc) · 823 Bytes
/
Copy pathcompose.yaml
File metadata and controls
30 lines (29 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
db:
image: mysql:8.0
ports:
- "3306:3306"
# NOTE: use of "mysql_native_password" is not recommended:
# https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
# command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./docker/database:/var/lib/mysql:delegated
phpmyadmin:
depends_on:
- db
image: phpmyadmin
restart: always
ports:
- "81:80"
environment:
- PMA_USER=root
- PMA_PASSWORD=root
- MAX_EXECUTION_TIME=999999
- UPLOAD_LIMIT=500M
- MEMORY_LIMIT=2G
networks:
- mysql-phpmyadmin