-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (45 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
50 lines (45 loc) · 1.38 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
version: '3'
services:
ethlocal:
container_name: ethlocal
volumes:
- /root
image: ethereum/client-go
command: --dev --networkid=17 --nodiscover --maxpeers=0 --http --http.addr 0.0.0.0 --http.corsdomain "*" --http.vhosts "*" --http.api "eth,net,web3,personal,miner" --miner.gasprice 0 --ws --ws.addr 0.0.0.0 --nousb --gcmode archive --datadir=/root/.ethereum
ports:
- 0.0.0.0:8545:8545
- 0.0.0.0:8546:8546
- 0.0.0.0:30303:30303
tzlocal:
container_name: tzlocal
image: pyratzlabs/tezos:lima
ports:
- 0.0.0.0:8732:8732
db:
container_name: tzkt-db
image: postgres:13
environment:
POSTGRES_USER: tzkt
POSTGRES_PASSWORD: qwerty
POSTGRES_DB: tzkt_db
api:
container_name: tzkt-api
image: bakingbad/tzkt-api:latest
depends_on:
- db
environment:
ConnectionStrings__DefaultConnection: host=tzkt-db;port=5432;database=tzkt_db;username=tzkt;password=qwerty;
Kestrel__Endpoints__Http__Url: http://0.0.0.0:5000
TezosNode__Endpoint: http://tzlocal:8732
expose:
- 5000
ports:
- 0.0.0.0:5000:5000
sync:
container_name: tzkt-sync
image: bakingbad/tzkt-sync:latest
environment:
ConnectionStrings__DefaultConnection: host=tzkt-db;port=5432;database=tzkt_db;username=tzkt;password=qwerty;
TezosNode__Endpoint: http://tzlocal:8732
depends_on:
- db