-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
26 lines (26 loc) · 1.38 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
version: "3"
services:
grebe:
build: .
environment:
- MQ_QNAME=<queue name> # Queue name to subscribe on RabbitMQ
- MQ_HOST=<hostname> # RabbitMQ host
- DB_HOST=<hostname> # Clickhouse host
# - SCHEMA_STORE=local # Schema store location
# - LOCAL_SCHEMA_DIR=schemas # Schema DB directory path when schema-sotre is local
# - LOCAL_SOURCE_SETTINGS_FILE=/source_settings.yml # Path to source settings file as local file. If this parameter skipped, source settings will be create on DB
# - TZ_STR=Asia/Tokyo # timezone string from TZ database
# - API_PORT=8888 # Port number of grebe Web API. It is disabled if this value is 0 or not provided.
# - LOG_FILE_COUNT=1000 # Count of file files kept
# - LOG_FILE_SIZE=1000000 # Size of each log file(KB)
# - MQ_POST=5672 # RabbitMQ port
# - DB_PORT=9000 # Clickhouse port by native connection
# - DB_NAME=default # Clickhouse DB name to store data
# - LOG_LEVEL=INFO # Log level [DEBUG, INFO, WARN, ERROR]
# - LOG_FORMAT='[%(levelname)s] %(asctime)s | %(pathname)s(L%(lineno)s) | %(message)s' # Log format by 'logging' package
# - LOG_FILE=/logs/greabe.log # Log file name
# - RETRY_MAX_COUNT=3 # Max count of retry to processing.
volumes:
- ./volume/logs:/logs
- ./volume/schemas:/schemas
# - ./source_settings.yml:/source_settings.yml