-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envrc
56 lines (48 loc) · 1.85 KB
/
.envrc
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
# General
# ------------------------------------------------------------------------------
export PROJECT_NAME="ath"
export DEBUG="1"
export API_APP="app.main:app"
export PORT="9000"
export DEBUG_PORT="5678"
export DATABASE_URL="postgresql+asyncpg://postgres:postgres@postgres:5432/postgres"
export TEST_DATABASE_URL="postgresql+asyncpg://postgres:postgres@postgres:5432/postgres"
export CORS_ORIGINS="http://127.0.0.1,http://127.0.0.1:3000,http://localhost,http://localhost:3000,http://web,http://web:3000"
export SECRET_KEY="123"
export API_CLIENT_KEY="ath"
export API_CLIENT_SECRET="ath"
# Postgres DB
# ------------------------------------------------------------------------------
export DB_HOST="postgres"
export DB_PORT="5432"
export DB_NAME="postgres"
export DB_USER="postgres"
export DB_PASS="postgres"
# TUSD uploader
# ------------------------------------------------------------------------------
export TUSD_HOST="127.0.0.1"
export TUSD_PORT="1080"
export TUSD_ENDPOINT="/files"
export TUSD_UPLOAD_CHUNK="80000"
# S3 storage
# ------------------------------------------------------------------------------
export S3_HOST="minio"
export S3_PORT="9000"
export S3_REGION="us-east-1"
export S3_ACCESS_KEY="ath12345"
export S3_SECRET_KEY="ath12345"
export S3_CSVS_BUCKET_NAME="csvs"
export S3_PLOTS_BUCKET_NAME="plots"
export S3_HOST_EXT="127.0.0.1"
export S3_PORT_EXT="53330"
# Localtunnel
# ------------------------------------------------------------------------------
export LOCALTUNNEL_SUBDOMAIN="ath"
# Terminal
# ------------------------------------------------------------------------------
# setting both $COLUMNS and $LINES fixes a terminal size issue, if not set
# fastapi app logging (rich) gets limited to 80 columns or so making the output
# look ugly. Customize these variables according to your current terminal
# configuration
export COLUMNS=160
export LINES=40