-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.08 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
version: "3.7"
services:
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
volumes:
- rabbitmq:/var/lib/rabbitmq/
- rabbitmq:/var/log/rabbitmq/
authservice-db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
container_name: authservice-db
hostname: authservice-db
environment:
MYSQL_ROOT_PASSWORD: mindef123
MYSQL_USER: 'test'
MYSQL_PASS: 'pass'
ports:
- 3306:3306
volumes:
- authservice-db-data:/var/lib/mysql
networks:
- authservice_network
phpmyadmin:
depends_on:
- authservice-db
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8080:80'
environment:
PMA_HOST: authservice-db
MYSQL_ROOT_PASSWORD: mindef123
networks:
- authservice_network
volumes:
authservice-db-data:
rabbitmq:
networks:
authservice_network: