-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.example
62 lines (51 loc) · 1.49 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
55
56
57
58
59
60
61
62
# Domain
# This would be set to the production domain with an env var on deployment
DOMAIN=localhost
# Username and Password for Traefik HTTP Basic Auth
USERNAME=admin
HASHED_PASSWORD=changethis # password=changethis
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME=nimir
STACK_NAME=nimir
USER_AGENT=nimir
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://nextagifuture.com"
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=changethis
USERS_OPEN_REGISTRATION=False
MAX_UPLOAD_SIZE=50_000_000
MAX_WORKERS=1 # Sets the number of processes
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=info@example.com
SMTP_TLS=True
SMTP_SSL=False
SMTP_PORT=587
# Database settings
DATABASE_TYPE=postgres
# DATABASE_TYPE=sqlite
# Postgres settings (used when DATABASE_TYPE=postgres)
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=nimir
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
# SQLite settings (used when DATABASE_TYPE=sqlite)
SQLITE_DB=sqlite.db
SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_FRONTEND=frontend
# Celery
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Data root path
DATA_ROOT_PATH=/path/to/your/data/root
# Frontend
NEXT_PUBLIC_API_URL=http://${DOMAIN}:8000
NEXT_PUBLIC_APP_NAME=${PROJECT_NAME}
NEXT_PUBLIC_ENVIRONMENT=${ENVIRONMENT}