Skip to content

Commit

Permalink
compose config
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimentionaltree committed Jan 8, 2025
1 parent 7e29a4f commit 67f678b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions config/static_config_compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
components_manager:
task_processors:
main-task-processor:
worker_threads: 16
fs-task-processor:
worker_threads: 2
tonlib-task-processor:
thread_name: tonlib_thread
worker_threads: 16
default_task_processor: main-task-processor
components:
server:
listener:
port: 8877
task_processor: main-task-processor
logging:
fs-task-processor: fs-task-processor
loggers:
default:
file_path: '@stdout'
level: info
overflow_behavior: discard
tonlib:
global_config: /run/secrets/ton-global-config
keystore: /tmp/keystore/
threads: 16
task_processor: tonlib-task-processor
handler-api-v2:
path: /api/v2/{ton_api_method}
method: GET,POST
task_processor: main-task-processor
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ secrets:
ton-global-config:
file: private/private-config.json
static-config:
file: private/static_config.yaml
file: config/static_config_compose.yaml

0 comments on commit 67f678b

Please sign in to comment.