-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_template
More file actions
47 lines (41 loc) · 1.35 KB
/
env_template
File metadata and controls
47 lines (41 loc) · 1.35 KB
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
DEBUG = True
DJANGO_SETTINGS_MODULE=web.settings.development
DJANGO_SECRET_KEY = ''
DJANGO_ALLOWED_HOSTS = *
DJANGO_CSRF_TRUSTED_ORIGINS = http://localhost:8000
# Database settings
DATABASE_HOST=mysql
DATABASE_NAME=papersnitch
DATABASE_USERNAME=papersnitch
DATABASE_PASSWORD=#TODO insert password
DATABASE_ENGINE=mysql
DATABASE_PORT=3306
# MariaDB container settings (for the mysql service itself)
MYSQL_HOST=mysql
MYSQL_ROOT_PASSWORD=#TODO insert password
MYSQL_DATABASE=papersnitch
MYSQL_USER=papersnitch
MYSQL_PASSWORD=#TODO insert password
# MariaDB-specific env vars (same values, just different prefix for MariaDB image)
MARIADB_ROOT_PASSWORD=#TODO insert password
MARIADB_DATABASE=papersnitch
MARIADB_USER=papersnitch
MARIADB_PASSWORD=#TODO insert password
DB_HOST=mysql
DB_PORT=3306
DB_NAME=papersnitch
DB_USER=papersnitch
DB_PASSWORD=#TODO insert password
MARIADB_AUTO_UPGRADE=1
MAX_CONCURRENT_CRAWLS = 5
# Update procedure:
# 1. Modify this env file.
# 2. Run `docker compose up -d --force-recreate <service>` to reload vars without rebuilding.
# 3. Verify with `docker compose exec <service> printenv VAR_NAME`.
GEMINI_API_KEY=#TODO insert API key
BYTEPLUS_API_KEY=#TODO insert API key
OPENAI_API_KEY=#TODO insert API key
MOONSHOT_API_KEY=#TODO insert API key
# Celery Configuration
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0