-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 953 Bytes
/
docker-compose.yml
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
31
32
33
34
35
36
37
38
39
version: '3'
services:
web:
build: .
volumes:
- ./web:/var/www/html/
links:
- db
ports:
- "8001:80"
networks:
- default
db:
image: mysql:8.0.16
command: ['--default-authentication-plugin=mysql_native_password']
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: planningpoker
MYSQL_USER: user
MYSQL_PASSWORD: mysqlpw
ports:
- "8002:3306"
volumes:
- ./dump:/docker-entrypoint-initdb.d
- persistent:/var/lib/mysql
networks:
- default
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.8
links:
- db
ports:
- '8000:80'
environment:
MYSQL_USER: user
MYSQL_PASSWORD: mysqlpw
MYSQL_ROOT_PASSWORD: root
volumes:
persistent: