-
Notifications
You must be signed in to change notification settings - Fork 1
/
env_template
92 lines (75 loc) · 2.38 KB
/
env_template
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Postgres
POSTGRES_USER=pzadmin
POSTGRES_PASSWORD=adminpz
POSTGRES_DB=pzdev
# If you're running native Linux and your uid:gid isn't 1000:1000 you can set
# these to match your values before you build your image. You can check what
# your uid:gid is by running `id` from your terminal.
# export USERID=1000 # uid
# export GROUPID=1000 # gid
# export USERNAME=pzapp # container user
# Backend/Django
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG=1
LOGGING_LEVEL=DEBUG
# AUTORELOAD: Select 1 to enable auto reload and 0 to turn off. In production we must
# disable it.
AUTORELOAD=1
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY=Z-cVO6l8catnpijVIKXcwwaKeGJTzJ2hiItn3lw2a4M
# AMQP
RABBITMQ_HOST="rabbitmq"
RABBITMQ_PORT="5672"
RABBITMQ_ERLANG_COOKIE="SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER="orcadmin"
RABBITMQ_DEFAULT_PASS="adminorc"
RABBITMQ_DEFAULT_VHOST="/"
# Database
DB_ENGINE=django.db.backends.postgresql
DB_USER=pzadmin
DB_PASSWORD=adminpz
DB_DATABASE=pzdev
DB_HOST=database
DB_PORT=5432
# URI
DOMAIN=localhost
URI=http://${DOMAIN}
# CORS
DJANGO_ALLOWED_HOSTS=${DOMAIN} 127.0.0.1 [::1]
DJANGO_CSRF_TRUSTED_ORIGINS=${URI} http://127.0.0.1
# Frontend
# Client ID e Client Secret devem ser cadastradas no Django Admin
# Apos o Setup do backend, na interface Django Oauth Aplications
# DJANGO_OAUTH_CLIENT_ID=
# DJANGO_OAUTH_CLIENT_SECRET=
# Configure the ORCHEST_URL variable with an active instance of an orchestration app
# ORCHEST_URL=
# Client ID and Client Secret must be registered in Django Admin
# after backend Setup, in the Django Oauth Applications interface
# ORCHEST_CLIENT_ID=
# ORCHEST_CLIENT_SECRET=
# Github OAuth
# To enable Github OAuth authentication,
# uncomment and fill in the following variables.
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# GITHUB_ORG_NAME=linea-it
# Shibboleth / Satosa Auth
# Url para login utilizando Shibboleth
# AUTH_SHIB_URL=
# directory where it will contain the processing of the pipelines.
PROCESSING_DIR=/processes
# directory where it will contain the source code of the pipelines.
PIPELINES_DIR=/pipelines
# directory where it will contain the datasets.
DATASETS_DIR=/datasets
# Saml2 / Satosa Auth
# URL to login using satosa
# AUTH_SHIB_URL=${URI}/saml2/login/
# Keys and Certificates
# SIG_KEY_PEM=
# SIG_CERT_PEM=
# ENCRYP_KEY_PEM=
# ENCRYP_CERT_PEM=
# IDP metadata
# IDP_METADATA=