forked from Cybersecurity-LINKS/trust-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (51 loc) · 1 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
# TODO: correctly handle
#version: '3.9'
services:
actix-trust-service:
build:
context: .
dockerfile: Dockerfile
image: actix-trust-service
hostname: actix-trust-service
container_name: actix-trust-service
restart: unless-stopped
ports:
- "8081:8081"
# secrets:
# -
depends_on:
- mongodb_container
- ipfs
environment:
- RUNNING_IN_DOCKER=true
profiles:
- deploy
mongodb_container:
image: mongo:latest
restart: unless-stopped
hostname: mongo
ports:
- 27017:27017
env_file:
- ./actix-server/.mongo.env
volumes:
- ./mongodb_data_container:/data/db
profiles:
- dev
- deploy
ipfs:
image: ipfs/kubo:latest
container_name: ipfs
ports:
#- "4001:4001"
- "5001:5001"
#- "8080:8080"
volumes:
- ipfs_data:/data/ipfs
restart: unless-stopped
profiles:
- dev
- deploy
volumes:
mongodb_data_container:
ipfs_data: