This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
92 lines (86 loc) · 2.09 KB
/
docker-compose.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
services:
redis:
image: redis:latest
ports:
- 6379:6379
volumes:
- redis_data:/data/redis
networks:
- content-publishing-service
frequency:
image: dsnp/instant-seal-node-with-deployed-schemas:latest
# We need to specify the platform because it's the only image
# built by Frequency at the moment, and auto-pull won't work otherwise
platform: linux/amd64
# Uncomment SEALING_MODE and SEALING_INTERVAL if you want to use interval sealing.
# Other options you may want to add depending on your test scenario.
# environment:
# - SEALING_MODE=interval
# - SEALING_INTERVAL=3
# - CREATE_EMPTY_BLOCKS=true
# Uncomment below if you want to let the chain run and keep all of the historical blocks
# command: --state-pruning=archive
ports:
- 9944:9944
networks:
- content-publishing-service
volumes:
- frequency_data:/data/frequency
ipfs:
image: ipfs/kubo:latest
ports:
- 4001:4001
- 5001:5001
- 8080:8080
networks:
- content-publishing-service
volumes:
- ipfs_data:/data/ipfs
content-publishing-service-api:
pull_policy: never
image: content-publishing-service
build:
context: .
dockerfile: dev.Dockerfile
tags:
- content-publishing-service:latest
ports:
- 3000:3000
env_file:
- .env.docker.dev
environment:
- START_PROCESS=api
volumes:
- ./:/app
depends_on:
- redis
- frequency
- ipfs
networks:
- content-publishing-service
content-publishing-service-worker:
pull_policy: never
image: content-publishing-service
build:
context: .
dockerfile: dev.Dockerfile
tags:
- content-publishing-service:latest
env_file:
- .env.docker.dev
environment:
- START_PROCESS=worker
volumes:
- ./:/app
depends_on:
- redis
- frequency
- ipfs
networks:
- content-publishing-service
volumes:
redis_data:
ipfs_data:
frequency_data:
networks:
content-publishing-service: