mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
79e6cc8e5b
* feat: add geateway config * feat: add ping controller for check by gateway * feat: add new env vars for gateway * feat: update config * gateway request wip * feat: add auth header for gateway request * feat: separate gateway folder * update endpoint for gateway * add makefile * lint * swap png to svg * add url of board to request to gateway * change deployed path prefix * add env in compose * add body log on gateway connect
13 lines
341 B
Plaintext
13 lines
341 B
Plaintext
ENV=debug
|
|
PORT=3000
|
|
IS_DB_SEEDED=true
|
|
IS_RATE_LIMITER_ENABLED=true
|
|
THREADS_MAX_COUNT=50
|
|
POSTGRES_URL=postgres://localhost/micrach?pool_max_conns=5
|
|
THREAD_BUMP_LIMIT=500
|
|
IS_CAPTCHA_ACTIVE=true
|
|
GATEWAY_URL=http://localhost:3001
|
|
GATEWAY_API_KEY=example
|
|
GATEWAY_BOARD_ID=b
|
|
GATEWAY_BOARD_URL=http://localhost:3000
|
|
GATEWAY_BOARD_DESCRIPTION=Random |