-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (52 loc) · 1.33 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
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.7"
x-transformer-env: &transformer-env
NAME: "icon-transformer"
NETWORK_NAME: "mainnet"
# Logging
LOG_LEVEL: "DEBUG"
LOG_TO_FILE: "false"
LOG_FILE_NAME: ""
LOG_FORMAT: "console"
LOG_IS_DEVELOPMENT: "true"
# Kakfa
KAFKA_BROKER_URL: "kafka:9092"
KAFKA_BLOCKS_TOPIC: "icon-blocks"
KAFKA_CONTRACTS_TOPIC: "icon-contracts"
# DB
DB_DRIVER: "postgres"
DB_HOST: "postgres"
DB_PORT: "5432"
DB_USER: "postgres"
DB_PASSWORD: "changeme"
DB_DBNAME: "postgres"
DB_SSL_MODE: "disable"
DB_TIMEZONE: "UTC"
# Redis
REDIS_HOST: "redis"
REDIS_PORT: "6379"
REDIS_PASSWORD: ""
REDIS_CHANNEL: "blocks"
REDIS_SENTINEL_CLIENT_MODE: "false"
REDIS_SENTINEL_CLIENT_MASTER_NAME: "master"
services:
transformer:
build:
context: ${TRANSFORMER_CONTEXT:-.}
target: ${TRANSFORMER_TARGET:-prod}
environment:
<<: *transformer-env
transformer-routine:
build:
context: ${TRANSFORMER_CONTEXT:-.}
target: ${TRANSFORMER_TARGET:-prod}
environment:
<<: *transformer-env
ROUTINES_RUN_ONLY: "true"
transformer-missing:
build:
context: ${TRANSFORMER_CONTEXT:-.}
target: ${TRANSFORMER_TARGET:-prod}
environment:
<<: *transformer-env
FIND_MISSING_RUN_ONLY: "true"
FIND_MISSING_EXTRACTOR_API_LOCATION: "http://extractor:8000/api/v1"