-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
52 lines (48 loc) · 1.1 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Use root/example user/password credentials
version: '3.1'
services:
php:
build:
context: .
dockerfile: php.dockerfile
ports:
- 8001:80
volumes:
- ./src:/var/www/html
environment:
IN_DOCKER: 1
depends_on:
- db
links:
- db
db:
image: mysql/mysql-server:5.7
command:
--default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: p1q5we8s_f
MYSQL_DATABASE: DB1581583
MYSQL_USER: test
MYSQL_PASSWORD: q8df72p0d
volumes:
- ./e2e/mysql-init-files:/docker-entrypoint-initdb.d
db_collections:
image: mysql/mysql-server:5.7
command:
--default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: p1q5we8s_f
MYSQL_DATABASE: dbs4617543
MYSQL_USER: test
MYSQL_PASSWORD: q8df72p0d
volumes:
- ./e2e/mysql-init-files-colls:/docker-entrypoint-initdb.d
phpmyadmin:
image: phpmyadmin
ports:
- 8080:80
environment:
PMA_HOST: db
MYSQL_ROOT_PASSWORD: p1q5we8s_f
depends_on:
- db