-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.env.dev
57 lines (43 loc) · 1.42 KB
/
template.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This file is meant to be a template.
# It is to be modified (changing user names, passwords, etc.)
# and renamed to `.env.dev`. See README.md for more information.
# Environment name
ENV_NAME=dev
# 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=0.0.0.0
WEB_BIND_PORT=${WEB_PORT}
# SSL certificate/key path
WEB_SSL_KEY_PATH=/etc/repromon/certs/${WEB_HOST}.key
WEB_SSL_CERT_PATH=/etc/repromon/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=TODO_initial_admin_password
# use command listed below to generate token secret key:
#
# openssl rand -hex 32
#
APIKEY_SECRET=TODO_apikey_secret
# 0-16 characters, drawn from the regexp range [./0-9A-Za-z]
APIKEY_SALT=TODO_apikey_salt
# use command listed below to generate token secret key:
#
# openssl rand -hex 32
#
TOKEN_SECRET_KEY=TODO_token_secret_key
CORS_ALLOW_ORIGINS="
http://${WEB_HOST}:${WEB_PORT}
https://${WEB_HOST}:${WEB_PORT}
"
# Variables related to the db service
POSTGRES_USER=TODO_postgres_user
POSTGRES_PASSWORD=TODO_postgres_password
POSTGRES_DB=rmdb
DB_SCHEMA=repromon
DB_URL=postgresql+psycopg2://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?options=-csearch_path=${DB_SCHEMA}