36 lines
670 B
Plaintext
36 lines
670 B
Plaintext
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
|