Skip to content

Commit 45b3a7d

Browse files
committed
added .env.example
use it ONLY for dev purposes
1 parent 9951b2f commit 45b3a7d

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.env.example

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Domain
2+
# This would be set to the production domain with an env var on deployment
3+
# used by Traefik to transmit traffic and aqcuire TLS certificates
4+
DOMAIN=localhost
5+
# To test the local Traefik config
6+
# DOMAIN=localhost.tiangolo.com
7+
8+
# Used by the backend to generate links in emails to the frontend
9+
FRONTEND_HOST=http://localhost:5173
10+
# In staging and production, set this env var to the frontend host, e.g.
11+
# FRONTEND_HOST=https://dashboard.example.com
12+
13+
# Environment: local, staging, production
14+
ENVIRONMENT=local
15+
16+
PROJECT_NAME="AIWS"
17+
STACK_NAME=aiws
18+
19+
# Backend
20+
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
21+
SECRET_KEY=MY-SECRET-KEY
22+
FIRST_SUPERUSER=[email protected]
23+
FIRST_SUPERUSER_PASSWORD=MY-SECRET-PASSWD
24+
25+
# Emails
26+
SMTP_HOST=
27+
SMTP_USER=
28+
SMTP_PASSWORD=
29+
EMAILS_FROM_EMAIL=[email protected]
30+
SMTP_TLS=True
31+
SMTP_SSL=False
32+
SMTP_PORT=587
33+
34+
# Postgres
35+
POSTGRES_SERVER=localhost
36+
POSTGRES_PORT=5432
37+
POSTGRES_DB=app
38+
POSTGRES_USER=postgres
39+
POSTGRES_PASSWORD=MY-SECRET-PASSWD
40+
41+
SENTRY_DSN=
42+
43+
# Configure these with your own Docker registry images
44+
DOCKER_IMAGE_BACKEND=backend
45+
DOCKER_IMAGE_FRONTEND=frontend

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
.env

0 commit comments

Comments
 (0)