-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.dev
43 lines (37 loc) · 1.54 KB
/
.env.dev
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
APP_ENV=development
APP_NAME=Talib
APP_URL=http://localhost:9001
APP_PORT=3000
# If this is unset, the server will 404 on any URLs it does not serve.
APP_STATIC_ROOT=${PWD}/../client/dist
# ==== DATABASE ====
# These depend on the driver being used. DATABASE_TYPE and DATABASE_URL might
# be the only thing you need.
DATABASE_TYPE=postgres
# To start, use
# docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
# Which will set the default password.
DATABASE_URL=postgres://admin:password@db:5432/talib
DATABASE_DATABASE=postgres
# ==== SCHEDULER ====
# Scheduler cron job running. If the scheduler hasn't finished work before the
# next job, it will skip the schedule time.
# If this and SCHEDULER_SECONDS is missing, scheduler is disabled.
# If both are set, this is an error.
SCHEDULER_CRON="*/10 * * * * *"
# SCHEDULER_SECONDS=300
# Maximum amount of blocks to fetch schedule.
# Since this is blocking future jobs, this should be a reasonable amount
# to fetch, as we also need to fetch the latest block to update the height
# of the whole blockchain.
SCHEDULER_MAX_BLOCK=500
# How many maximum queries in parallel to a single network.
SCHEDULER_PARALLEL=10
# How much to sleep between parallel batches, in seconds.
SCHEDULER_PARALLEL_SLEEP=0.2
# JWT specific authentication. This should be changed.
JWT_SECRET="DO NOT USE THIS VALUE. INSTEAD, CREATE A COMPLEX SECRET AND KEEP IT SAFE OUTSIDE OF THE SOURCE CODE."
# Administrator. This cannot be changed once the application is running, and
# is required.
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin