Skip to content

Commit b462ef9

Browse files
committed
Add .sample_env for quick environment setup
1 parent e7e563f commit b462ef9

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.sample_env

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Database
2+
DATABASE_URI=postgresql://postgres:postgres@db/web
3+
DATABASE_URI_TEST=postgresql://postgres:postgres@db/web_test
4+
5+
# Django
6+
SECRET_KEY=supersecretkey
7+
DEBUG=True
8+
ALLOWED_HOSTS=localhost,127.0.0.1
9+
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
10+
11+
# Celery / Redis
12+
CELERY_BROKER_URL=redis://redis:6379/0
13+
CELERY_RESULT_BACKEND=redis://redis:6379/1
14+
15+
# Postgres
16+
POSTGRES_USER=postgres
17+
POSTGRES_PASSWORD=postgres
18+
POSTGRES_DB=postgres

0 commit comments

Comments
 (0)