-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
70 lines (70 loc) · 1.53 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
version: '3.3'
services:
# farcaster with root export
ferrule:
image: cosmtrek/air:latest
working_dir: /node/
restart: always
ports:
- 9001:9000
expose:
- 7946/udp
- 7946/tcp
env_file:
- ./.env
environment:
- FR_IDENTITY_KEY_PATH=/app/node.key
- FR_LOG_LEVEL=debug
- GOLOG_LOG_LEVEL=debug
- FR_DATA_DIR=/data/
- FR_SECRET_SHARE_DIR=/data/scrt/
volumes:
- ./nodedata/node/:/data/
- ./node.key:/app/node.key
- ./node/:/node/
ferrule2:
depends_on:
- ferrule
image: cosmtrek/air:latest
working_dir: /node/
expose:
- 7946/udp
- 7946/tcp
ports:
- 9000:9000
env_file:
- ./.env
environment:
- FR_IDENTITY_KEY_PATH=/app/node2.key
- FR_LOG_LEVEL=debug
- GOLOG_LOG_LEVEL=debug
- FR_DATA_DIR=/data/
- FR_PEERS=ferrule
- FR_SECRET_SHARE_DIR=/data/scrt/
volumes:
- ./nodedata/node2/:/data/
- ./node2.key:/app/node2.key
- ./node/:/node/
ferrule3:
depends_on:
- ferrule
image: cosmtrek/air:latest
working_dir: /node/
expose:
- 7946/udp
- 7946/tcp
ports:
- 9002:9000
env_file:
- ./.env
environment:
- FR_IDENTITY_KEY_PATH=/app/node3.key
- FR_LOG_LEVEL=debug
- GOLOG_LOG_LEVEL=debug
- FR_DATA_DIR=/data/
- FR_PEERS=ferrule
- FR_SECRET_SHARE_DIR=/data/scrt/
volumes:
- ./nodedata/node3/:/data/
- ./node3.key:/app/node3.key
- ./node/:/node/