forked from baking-bad/tzkt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.lima.yml
40 lines (36 loc) · 1.22 KB
/
docker-compose.lima.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
version: '3'
services:
lima-db:
container_name: lima-db
restart: always
image: postgres:13
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:5434:5432
lima-api:
container_name: lima-api
restart: always
image: bakingbad/tzkt-api:latest
depends_on:
- lima-db
environment:
ConnectionStrings__DefaultConnection: host=lima-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:5020:5000
lima-sync:
container_name: lima-sync
restart: always
image: bakingbad/tzkt-sync:latest
environment:
ConnectionStrings__DefaultConnection: host=lima-db;port=5432;database=${POSTGRES_DB:-tzkt_db};username=${POSTGRES_USER:-tzkt};password=${POSTGRES_PASSWORD:-qwerty};command timeout=${COMMAND_TIMEOUT:-600};
TezosNode__Endpoint: https://rpc.tzkt.io/limanet/
depends_on:
- lima-db
volumes:
postgres: