-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (55 loc) · 1.06 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
version: "3.8"
services:
mongo:
container_name: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
image: mongo
networks:
internal:
aliases:
- mongo
ports:
- 27017:27017
restart: always
volumes:
- db-data:/data/db
rabbitmq:
container_name: rabbitmq
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
expose:
- 5672
hostname: rabbitmq
image: rabbitmq:3.9.12-management
networks:
internal:
aliases:
- rabbitmq
ports:
- 5672:5672
- 15672:15672
restart: always
ipfs-node:
container_name: ipfs-node
image: ipfs-node
expose:
- 5001
ports:
- 8080:8080
- 5001:5001
restart: always
volumes:
- ipfs-data:/data/ipfs
networks:
internal:
aliases:
- ipfs-node
networks:
internal:
driver: bridge
volumes:
db-data:
ipfs-data: