init
This commit is contained in:
30
.env.sample
Normal file
30
.env.sample
Normal file
@@ -0,0 +1,30 @@
|
||||
# should be prod or dev
|
||||
ENV='dev'
|
||||
|
||||
# secret
|
||||
SECRET='CHANGE_ME'
|
||||
|
||||
# Allowed hosts, domain's allowed, comma separated
|
||||
ALLOWED_HOSTS='127.0.0.1, localhost'
|
||||
|
||||
# CSRF Trusted origins
|
||||
CSRF_TRUSTED_ORIGINS='http://127.0.0.1, http://localhost'
|
||||
|
||||
### DEV RELATED
|
||||
# VITE
|
||||
DEV_SERVER_HOST='127.0.0.1'
|
||||
DEV_SERVER_PORT='8080'
|
||||
|
||||
### DB related
|
||||
# db engine, should be 'sqlite', 'pgsql' (psycopg[binary] required)
|
||||
DB_ENGINE='sqlite3'
|
||||
|
||||
# SQLITE
|
||||
SQLITE_REL_PATH='db.sqlite3'
|
||||
|
||||
# PostgreSQL, docker compose .env file convention
|
||||
#POSTGRES_HOST=localhost
|
||||
#POSTGRES_PORT=5432
|
||||
#POSTGRES_DB=changeme
|
||||
#POSTGRES_USER=changeme
|
||||
#POSTGRES_PASSWORD=changeme
|
||||
Reference in New Issue
Block a user