This commit is contained in:
2024-06-04 22:08:15 +02:00
commit e899252f31
74 changed files with 1969 additions and 0 deletions

35
.env.sample Normal file
View File

@@ -0,0 +1,35 @@
USER_ID=1000
GROUP_ID=1000
LISTEN_PORT=8000
# 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, env logic for postgresql docker image
#POSTGRES_HOST=localhost
#POSTGRES_PORT=5432
#POSTGRES_DB=changeme
#POSTGRES_USER=changeme
#POSTGRES_PASSWORD=changeme