-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 902 Bytes
/
.env.example
File metadata and controls
30 lines (25 loc) · 902 Bytes
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
# Django settings
DJANGO_SECRET_KEY=super-secret-key
DJANGO_DEBUG=False
DJANGO_ENVIRONMENT=production/staging
DJANGO_ALLOWED_HOSTS=127.0.0.1,localhost,87.242.110.159
DJANGO_CSRF_TRUSTED_ORIGINS=http://127.0.0.1:8061,http://localhost:8061,http://87.242.110.159:8061
DJANGO_SETTINGS_MODULE=config.django_config.production # production/staging
# PostgreSQL settings
POSTGRES_ENGINE=postgresql_psycopg2
POSTGRES_DB=admin2_db
POSTGRES_USER=someuser
POSTGRES_PASSWORD=somepassword
POSTGRES_HOST=db # or 127.0.0.1
POSTGRES_PORT=5432
# ClickHouse settings
CLICKHOUSE_HOST=87.242.110.159
CLICKHOUSE_USER=someuser
CLICKHOUSE_PASSWORD=somepassword
# Redis settings
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
# Other settings
ALLOWED_HOSTS=localhost,127.0.0.1,87.242.110.159
EXTERNAL_DJANGO_ADMIN_URL=http://87.249.37.86
PRICELENS_FILE_SERVER_URL=http://87.242.110.159