diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-16 21:08:28 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-16 21:08:28 +0000 |
commit | 12499f423d7aa134678d459c57497c9948859a85 (patch) | |
tree | f0a80da36b9324cc4e58d4d6206b163bed409d0d /_deploy/debian-server/credentials.py | |
parent | afd2b7cc18ff2b6e7baf473f70715f2193674a66 (diff) | |
download | troggle-12499f423d7aa134678d459c57497c9948859a85.tar.gz troggle-12499f423d7aa134678d459c57497c9948859a85.tar.bz2 troggle-12499f423d7aa134678d459c57497c9948859a85.zip |
moving to different credentials management
Diffstat (limited to '_deploy/debian-server/credentials.py')
-rw-r--r-- | _deploy/debian-server/credentials.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_deploy/debian-server/credentials.py b/_deploy/debian-server/credentials.py new file mode 100644 index 0000000..2f856ed --- /dev/null +++ b/_deploy/debian-server/credentials.py @@ -0,0 +1,22 @@ + +EXPOUSER = 'expo' +EXPOADMINUSER = 'expoadmin' +EXPOUSER_EMAIL = 'wookey@wookware.org' +EXPOADMINUSER_EMAIL = 'wookey@wookware.org' +import secret_credentials.py + +EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever +#SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + "OPTIONS": { + "charset": "utf8mb4", # To permit emojis in logbook entries and elsewhere + }, 'NAME' : 'troggle', # Or path to database file if using sqlite3. + 'USER' : 'expo', # Not used with sqlite3. + 'PASSWORD' : MARIADB_SERVER_PASSWORD, # Not used with sqlite3. + 'HOST' : '', # Set to empty string for localhost. Not used with sqlite3. + 'PORT' : '', # Set to empty string for default. Not used with sqlite3. + } +} |