-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.yml
43 lines (39 loc) · 1.29 KB
/
docker-compose.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
version: '3'
services:
db:
container_name: tzkt-db
restart: always
image: postgres:16
environment:
POSTGRES_USER: ${POSTGRES_USER:-tzkt}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-qwerty}
POSTGRES_DB: ${POSTGRES_DB:-tzkt_db}
volumes:
- postgres:/var/lib/postgresql/data
ports:
- 127.0.0.1:5432:5432
api:
container_name: tzkt-api
restart: always
image: bakingbad/tzkt-api:latest
depends_on:
- db
environment:
ConnectionStrings__DefaultConnection: host=db;port=5432;database=${POSTGRES_DB:-tzkt_db};username=${POSTGRES_USER:-tzkt};password=${POSTGRES_PASSWORD:-qwerty};command timeout=${COMMAND_TIMEOUT:-600};
Kestrel__Endpoints__Http__Url: http://0.0.0.0:5000
ports:
- 0.0.0.0:5000:5000
sync:
container_name: tzkt-sync
restart: always
image: bakingbad/tzkt-sync:latest
environment:
ConnectionStrings__DefaultConnection: host=db;port=5432;database=${POSTGRES_DB:-tzkt_db};username=${POSTGRES_USER:-tzkt};password=${POSTGRES_PASSWORD:-qwerty};command timeout=${COMMAND_TIMEOUT:-600};
Kestrel__Endpoints__Http__Url: http://0.0.0.0:5001
TezosNode__Endpoint: ${NODE_RPC:-https://rpc.tzkt.io/mainnet/}
depends_on:
- db
ports:
- 0.0.0.0:5001:5001
volumes:
postgres: