-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfpd.yml
77 lines (73 loc) · 1.95 KB
/
fpd.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
fpd:
build:
context: ./fpd
dockerfile: Dockerfile.binary
args:
- FINALITY_PROVIDER_VERSION=${FINALITY_PROVIDER_VERSION}
image: fpd:local
pull_policy: never
restart: unless-stopped
environment:
- LOG_LEVEL=debug
- MONIKER=${MONIKER}
- EXTRA_FLAGS=${fpd_EXTRA_FLAGS}
- EOTSD_PUBLIC_KEY=${EOTSD_PUBLIC_KEY}
- EOTSD_LISTENER_HOST=${EOTSD_LISTENER_HOST}
- EOTSD_LISTENER_PORT=${EOTSD_LISTENER_PORT}
- RPC_HOST=${RPC_HOST}
- CL_RPC_PORT=${CL_RPC_PORT}
- NETWORK=${NETWORK}
ports:
- ${FPD_LISTENER_PORT}:${FPD_LISTENER_PORT}
- 2112:2112
volumes:
- fpd-data:/home/finality-provider/:rw
# - /home/ubuntu/babylon-node-docker/fpd/:/home/finality-provider/.fpd/data_config/
entrypoint:
- docker-entrypoint.sh
- fpd
- start
- --rpc-listener
- ${FPD_LISTENER_HOST}:${FPD_LISTENER_PORT}
- --eots-pk
- ${EOTSD_PUBLIC_KEY}
fpd-import-keys:
profiles: ["tools"]
build:
context: ./fpd
dockerfile: Dockerfile.binary
args:
- FINALITY_PROVIDER_VERSION=${FINALITY_PROVIDER_VERSION}
- USER=finality-provider
image: fpd:local
pull_policy: never
user: finality-provider
volumes:
- fpd-data:/home/finality-provider/:rw
entrypoint: ["/bin/bash","-c"]
command:
- |
fpd keys add finality-provider --recover
fpd-cli:
profiles: ["tools"]
build:
context: ./fpd
dockerfile: Dockerfile.binary
args:
- FINALITY_PROVIDER_VERSION=${FINALITY_PROVIDER_VERSION}
- USER=finality-provider
image: fpd:local
pull_policy: never
user: finality-provider
volumes:
- fpd-data:/home/finality-provider/:rw
volumes:
fpd-data: