-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 954 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
40
41
42
43
44
45
46
47
48
49
50
version: "3.7"
services:
mysql:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd
stdin_open: true
tty: true
volumes:
- mysql:/var/lib/mysql
restart: always
rabbitmq:
image: rabbitmq:3
ports:
- 5672:5672
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=P@ssw0rd
volumes:
- rabbitmq:/var/lib/rabbitmq
stdin_open: true
tty: true
restart: always
server:
build: ./
ports:
- 8888:8888
- 8090:8090
env_file:
- .env
environment:
- Secret
- Role=Server
restart: always
depends_on:
- mysql
- rabbitmq
volumes:
- type: bind
source: ./files
target: /app/files
- type: bind
source: ./config.json
target: /app/config.json
- type: bind
source: ./files/certs
target: /app/files/certs
volumes:
mysql:
rabbitmq: