-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
72 lines (66 loc) · 1.69 KB
/
docker-compose.yaml
File metadata and controls
72 lines (66 loc) · 1.69 KB
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
version: '3'
services:
redis:
image: redis:latest
hostname: redis
ports:
- 6379:6379
container_name: redis
networks:
- reconnection-service-network-dev
volumes:
- redis_data:/data
frequency:
image: frequencychain/standalone-node:v1.17.6
# 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:
- reconnection-service-network-dev
volumes:
- chainstorage:/data
webhook:
container_name: webhook
hostname: webhook
build:
context: webhook-specification/mock-webhook-server
ports:
- 3001:3001
environment:
NODE_ENV: production
volumes:
- ./webhook-specification/mock-webhook-server/responses:/app/responses
networks:
- reconnection-service-network-dev
reconnection-service:
depends_on:
- redis
- frequency
- webhook
build:
context: .
dockerfile: dev.Dockerfile
ports:
- 3000:3000
env_file:
- .env.docker.dev
volumes:
- ./:/app
networks:
- reconnection-service-network-dev
volumes:
redis_data:
chainstorage:
external: false
networks:
reconnection-service-network-dev: