-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.local
63 lines (51 loc) · 1.52 KB
/
.env.local
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
57
58
59
60
61
62
63
#
# Env variables to define fully local, no podman, development setup using sqlite
#
# Environment name
ENV_NAME=local
# Bind mount paths at host
# WEB_PATH_AT_HOST=./services/web
# DB_PATH_AT_HOST=./services/db
# public web server info
WEB_HOST=localhost
WEB_PORT=9095
# internal web server socket bind address
WEB_BIND_ADDRESS=127.0.0.1
WEB_BIND_PORT=${WEB_PORT}
# SSL certificate/key path
WEB_SSL_KEY_PATH={@ROOT_PATH}/certs/${WEB_HOST}.key
WEB_SSL_CERT_PATH={@ROOT_PATH}/certs/${WEB_HOST}.pem
# WEB_SSL_KEY_PATH_AT_HOST=./certs/${WEB_HOST}.key
# WEB_SSL_CERT_PATH_AT_HOST=./certs/${WEB_HOST}.pem
# admin initial password
INITIAL_ADMIN_PASSWORD=password
# use command listed below to generate token secret key:
#
# openssl rand -hex 32
#
APIKEY_SECRET=1f6e096dda8f186a589296e285b73355b4f4a2cb2261ada087124f4f2e480f42
# 0-16 characters, drawn from the regexp range [./0-9A-Za-z]
APIKEY_SALT=abc321
# use command listed below to generate token secret key:
#
# openssl rand -hex 32
#
TOKEN_SECRET_KEY=fe7b2585d042c7017f16abbff1c3b5c62e69f78737a9a7ba45e7e8f8573ca82d
CORS_ALLOW_ORIGINS="
http://${WEB_HOST}:3000
https://${WEB_HOST}:3000
http://${WEB_HOST}:4200
https://${WEB_HOST}:4200
http://${WEB_HOST}:${WEB_PORT}
https://${WEB_HOST}:${WEB_PORT}
"
DB_SCHEMA=
DB_URL=sqlite:///{@ROOT_PATH}/db/db_dev.sqlite3
# Postgres example:
#
# POSTGRES_USER=user1
# POSTGRES_PASSWORD=pwd1
# POSTGRES_DB=pgdb
# DB_SCHEMA=repromon
# DB_URL=postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?options=-csearch_path=${DB_SCHEMA}
#