forked from lafvg12/commons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (73 loc) · 1.57 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3.4"
services:
rabbit:
image: "rabbitmq:management-alpine"
container_name: "rabbit_global"
ports:
- "32778:4369"
- "32777:5671"
- "5672:5672"
- "32775:15671"
- "15672:15672"
- "32774:25672"
networks:
- base-commons
restart: always
mysql_global:
image: mysql:8
container_name: mysql_global
command:
[
"mysqld",
"--character-set-server=utf8",
"--default-authentication-plugin=mysql_native_password",
]
volumes:
- ./.data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- "3306:3306"
- "33060:33060"
networks:
- base-commons
restart: always
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
environment:
PMA_HOSTS: mysql_global
networks:
- base-commons
restart: always
postgres_global_9:
image: "postgres:9.6"
environment:
POSTGRES_PASSWORD: postgres
container_name: "postgres_global_9"
ports:
- "5432:5432"
volumes:
- ./.data_postgres:/var/lib/postgresql/data
networks:
- base-commons
restart: always
pgadmin_global:
image: dpage/pgadmin4:4.10
container_name: "pgadmin_global"
depends_on:
- postgres_global_9
ports:
- "5555:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
volumes:
- ./.pgadmin/:/var/lib/pgadmin
networks:
- base-commons
restart: always
networks:
base-commons:
driver: "bridge"