This commit is contained in:
2024-07-20 11:36:35 +02:00
commit 74b43cd8fa
81 changed files with 3131 additions and 0 deletions

30
.env.sample Normal file
View 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