Skip to content

Commit 47a1f38

Browse files
fred-yu-2013stiartsly
authored andcommitted
CU-1z5gcyb - Add a docker config file.
1 parent 0e04153 commit 47a1f38

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docker-compose.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: "3.3"
2+
3+
services:
4+
5+
mongodb:
6+
container_name: hive-mongo
7+
image: mongo:4.4.0
8+
volumes:
9+
- ~/hive-node/mongodb_data:/data/db
10+
ports:
11+
- "27018:27017"
12+
restart: always
13+
14+
ipfs:
15+
container_name: hive-ipfs
16+
image: ipfs/go-ipfs:master-2021-09-10-ef0428a
17+
volumes:
18+
- ~/hive-node/ipfs/staging:/export
19+
- ~/hive-node/ipfs/data:/data/ipfs
20+
ports:
21+
- "4002:4001"
22+
- "5020:5001"
23+
restart: always
24+
25+
hive-node:
26+
depends_on:
27+
- mongodb
28+
- ipfs
29+
container_name: hive-node
30+
image: trinitytech/hivenode:latest
31+
volumes:
32+
- ~/hive-node/did_user_data:/did_user_data
33+
- ./.env:/Elastos.NET.Hive.Node/.env
34+
ports:
35+
- "5000:5000"
36+
restart: always

0 commit comments

Comments
 (0)