-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
56 lines (43 loc) · 1.43 KB
/
.env.example
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
# Docker compose configuration:
COMPOSE_PROJECT_NAME=webcentral
# set to one, if you want to use .env file
USE_DOT_ENV=1
# use production environment locally:
USE_PROD_LOCALLY=1
PORT_TO_OUTSIDE=8070
# NGINX Container configuration:
NGINX_LISTEN_PORT=8080
NGINX_SSL_CERTIFICATE_FILENAME=stratoCert.crt
NGINX_SSL_CERTIFICATE_KEY_FILENAME=wissen-digital-ewb_de.key
APP_HOST=webcentral
UWSGI_LISTEN_PORT=9000
# webcentral Container Configuration:
WEBCENTRAL_OUTSIDE_PORT=8000
WEBCENTRAL_INSIDE_PORT=8000
WEBCENTRAL_UNPRIVILEGED_USER=webcentraluser
# superuser credentials
# change these credentials!
# dont use the default credentials! Your Admin-Panel could be accessible for
# unauthorized users.
CREATE_SUPER_USER=1
DJANGO_SUPERUSER_PASSWORD=hallo12345
DJANGO_SUPERUSER_USERNAME=admin
# Django Seetings.py env vars:
SECRET_KEY='django-insecure-l6nvsp#y_3o8--2^h5@903kz%_yx_0=l+i%(2kllzhb=@3+ar('
# DEBUG=1 For True, DEBUG=0 for false
DEBUG=1
# allowed hosts has to be set, when DEBUG Mode is set to false!
ALLOWED_HOSTS=*
UWSGI_NUM_WORKERS=4
# postgres Container Configuration:
DATABASE_OUTSIDE_PORT=5001
# should stay 5432, check documentation
DATABASE_INSIDE_PORT=5432
# database credentials
# for the current sql-dump file, the postgres-user has to be "adm_webcentral"
POSTGRES_USER=adm_webcentral
POSTGRES_PASSWORD=abc123
POSTGRES_DB=m4_db_serv_22070
# Test env-vars:
siteUnderTest=http://127.0.0.1:8000