-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
41 lines (34 loc) · 1.34 KB
/
.env
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
# Project name #
# (used as prefix for all images...)
COMPOSE_PROJECT_NAME=transcendence
# Set the environment #
# (development, production)
NODE_ENV=production
# (backend.settings.development, backend.settings.production)
DJANGO_SETTINGS_MODULE=backend.settings.production
# Domain #
NUXT_ENV_DOMAIN=localhost
# SSL Certificate #
# files must be inside the build context (the directory of docker-compose.yml)
# create self signed: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj "/C=DE/ST=BW/L=HN/O=42/OU=42HN/CN=tfriedri" -out cert.crt -keyout key.key
# CERT_PATH=./cert/cert.cer
CERT_PATH=./cert/cert.crt
CERT_KEY_PATH=./cert/key.key
# Postgres #
POSTGRES_DB=djangodb
POSTGRES_USER=testuser
POSTGRES_PASSWORD=12345678
# Django #
DJANGO_SECRET_KEY=qDZ6nVLMRterTQBUmtLcnuZnkpME69ymarSR520aapuanQkixrcg1QER6bDpffzb
# Superuser for development-environment (please set an alias for the user to avoid conflicts)
DJANGO_SUPERUSER_USERNAME=test
DJANGO_SUPERUSER_PASSWORD=12345678
# Python options
PYTHONUNBUFFERED= 1
PYTHONDONTWRITEBYTECODE=1
DISABLE_PIP_VERSION_CHECK=1
PIP_DISABLE_PIP_VERSION_CHECK=1
# 2FA Removed .env from comlete git history with
# git filter-branch --force --index-filter "git rm --cached --ignore-unmatch '.env'" --prune-empty --tag-name-filter cat -- --all
# The original can be found on vogsphere