forked from charx0r/POKT_DOKT
-
Notifications
You must be signed in to change notification settings - Fork 7
/
celo-archive.yml
46 lines (41 loc) · 1.24 KB
/
celo-archive.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
version: '3.1'
services:
celo-archive:
image: us.gcr.io/celo-org/geth:1.8
restart: unless-stopped
stop_grace_period: 1m
command: |
--verbosity 3
--syncmode full
--gcmode archive
--txlookuplimit=0
--cache.preimages
--port 58395
--ws
--ws.port 8545
--ws.addr 0.0.0.0
--http
--http.vhosts=*
--http.addr 0.0.0.0
--http.api eth,net,web3,debug,admin,personal
--datadir /root/.celo
expose:
- 8545
- 8546
ports:
- '58395:58395/tcp' # p2p
- '58395:58395/udp' # p2p
volumes:
- celo-archive:/root/.celo
networks:
- chains
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.celo-stripprefix.stripprefix.prefixes=/celo-archive"
- "traefik.http.services.celo.loadbalancer.server.port=8545"
- "traefik.http.routers.celo.entrypoints=websecure"
- "traefik.http.routers.celo.tls.certresolver=myresolver"
- "traefik.http.routers.celo.rule=Host(`$DOMAIN`) && PathPrefix(`/celo-archive`)"
- "traefik.http.routers.celo.middlewares=celo-stripprefix, ipwhitelist"
volumes:
celo-archive: