forked from oscar.krause/fastapi-dls
28 lines
741 B
Plaintext
28 lines
741 B
Plaintext
|
# Toggle debug mode
|
||
|
#DEBUG=false
|
||
|
|
||
|
# Where the client can find the DLS server
|
||
|
DLS_URL=127.0.0.1
|
||
|
DLS_PORT=443
|
||
|
|
||
|
# CORS configuration
|
||
|
## comma separated list without spaces
|
||
|
#CORS_ORIGINS="https://$DLS_URL:$DLS_PORT"
|
||
|
|
||
|
# Lease expiration in days
|
||
|
LEASE_EXPIRE_DAYS=90
|
||
|
LEASE_RENEWAL_PERIOD=0.2
|
||
|
|
||
|
# Database location
|
||
|
## https://docs.sqlalchemy.org/en/14/core/engines.html
|
||
|
DATABASE=sqlite:////etc/fastapi-dls/db.sqlite
|
||
|
|
||
|
# UUIDs for identifying the instance
|
||
|
#SITE_KEY_XID="00000000-0000-0000-0000-000000000000"
|
||
|
#INSTANCE_REF="10000000-0000-0000-0000-000000000001"
|
||
|
#ALLOTMENT_REF="20000000-0000-0000-0000-000000000001"
|
||
|
|
||
|
# Site-wide signing keys
|
||
|
INSTANCE_KEY_RSA=/etc/fastapi-dls/instance.private.pem
|
||
|
INSTANCE_KEY_PUB=/etc/fastapi-dls/instance.public.pem
|