This commit is contained in:
Takeus committed 2025-02-03 01:16:13 +01:00
1 parent 0980efcd24
commit f11aa2d6c6
22 files changed
+491

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
##########################################################
############# CONFIGURATION FILE | Flask IPAM ############
## Flask Server (For DEV)
app_ip = '127.0.0.1'
app_port = 80
app_debug = True
app_maintenance = False
app_name = 'takeus-ipam'
app_version = 'V1.0'
app_release_date = '02/2025'
app_url = "http://127.0.0.1"
class Configuration:
# openssl rand -hex 32
SECRET_KEY = 'change_me'
# DB CONFIG
SQLALCHEMY_DATABASE_URI = 'sqlite:///database.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ENGINE_OPTIONS = {"pool_pre_ping": True}
# CK CONFIG
SESSION_COOKIE_SECURE = False # SSL REQUIRED
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'Lax'