pywallter/config.py.example

32 lines
786 B
Plaintext
Raw Permalink Normal View History

2022-08-06 23:49:16 +02:00
# L'adresse de base de votre site.
# example BASE_URL="https://example.com"
2022-08-12 16:24:48 +02:00
# BASE_URL="http://localhost:8000/" # si vous lancez pywallter avec flask run"
2022-08-06 23:49:16 +02:00
2022-08-13 04:32:09 +02:00
BASE_URL="https://example.com/"
2022-07-11 00:38:03 +02:00
# Essentiels pour les cookies
2022-08-13 04:18:11 +02:00
SECRET_KEY="CHANGE-ME"
2022-07-11 00:38:03 +02:00
# Dossier où seront stocker les fichiers
2022-08-06 23:49:16 +02:00
DOSSIER_APP = "./users/"
2022-07-11 00:38:03 +02:00
2022-08-06 18:22:24 +02:00
# Fichiers sqlite
DATABASE = "./base.db"
2022-07-11 00:38:03 +02:00
# Extension des images accepter
EXT_IMG= {'.jpg', '.JPG', '.png', '.PNG', '.gif', '.GIF', '.bmp', '.BMP', '.jpeg', '.JPEG' }
# Service
# XMPP = True => Le service est installé et lancer
# XMMP = False => Le service est désactivé
XMPP_SERVER = False
2022-07-11 00:38:03 +02:00
# Service Mail
# MAIL_SERVER = True => Le service est installé et lancer
# MAIL_SERVER = False => Le service est désactivé
2022-12-23 09:00:30 +01:00
MAIL_SERVER = False
2022-08-06 18:22:24 +02:00
2022-08-12 16:24:48 +02:00
# Doas or sudo
2022-08-06 18:22:24 +02:00
SETUID='doas'