-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (45 loc) · 1.04 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
44
45
46
47
version: "3.9"
services:
subquery-node:
image: onfinality/subql-node:v2.5.1
depends_on:
- postgres
restart: always
environment:
DB_USER: ${DB_USER:-postgres}
DB_PASS: ${DB_PASS:-postgres}
DB_DATABASE: ${DB_DATABASE:-postgres}
DB_HOST: ${DB_HOST:-postgres}
DB_PORT: 5432
volumes:
- ./:/app
command:
- -f=/app
- --db-schema=turing
- --log-level=${LOG_LEVEL:-info}
- -workers=4
healthcheck:
test: ["CMD", "curl", "-f", "http://subquery-node:3000/ready"]
interval: 3s
timeout: 5s
retries: 10
networks:
- oak-subql
mixer:
build:
context: ./mixer/
depends_on:
- postgres
restart: always
environment:
PGUSER: ${DB_USER:-postgres}
PGPASSWORD: ${DB_PASS:-postgres}
PGDATABASE: ${DB_DATABASE:-postgres}
PGHOST: ${DB_HOST:-postgres}
PGPORT: 5432
RPC_ADDRESS: ${RPC_ADDRESS:-wss://rpc.turing-staging.oak.tech}
DEBUG: 1
networks:
- oak-subql
networks:
oak-subql: