forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprysm-web.yml
37 lines (37 loc) · 1023 Bytes
/
prysm-web.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
version: "3.4"
services:
consensus:
expose:
- 3500/tcp
validator:
expose:
- ${PRYSM_WEB_PORT}/tcp
entrypoint:
- validator
- --datadir
- /var/lib/prysm
- --wallet-dir
- /var/lib/prysm/
- --beacon-rpc-provider
- consensus:4000
- --graffiti
- ${GRAFFITI}
- --verbosity
- ${LOG_LEVEL}
- --${NETWORK}
- --accept-terms-of-use
- --web
- --grpc-gateway-host
- 0.0.0.0
- --grpc-gateway-port
- ${PRYSM_WEB_PORT}
- --beacon-rpc-gateway-provider
- consensus:3500
# If you chose not to store the wallet password during import, comment out the two following lines
- --wallet-password-file
- /var/lib/prysm/password.txt
labels:
- traefik.enable=true
- traefik.http.routers.prysm.entrypoints=web,websecure
- traefik.http.routers.prysm.rule=Host(`${PRYSM_HOST}.${DOMAIN}`)
- traefik.http.services.prysm.loadbalancer.server.port=${PRYSM_WEB_PORT}