remove liara.json & workflow/liara.yaml - add Dockerfile & docker-compose file

This commit is contained in:
2025-10-18 10:46:54 +03:30
parent 5a2fe5243b
commit d4e14a1e51
8 changed files with 97 additions and 46 deletions

View File

@@ -39,7 +39,8 @@ ALLOWED_HOSTS = [
'https://dam.rasadyar.net'
'http://localhost:3000',
'http://192.168.88.130:3000',
'https://rasaddam-front.liara.run'
'https://rasaddam-front.liara.run',
'ns0ck4ksk0koks8ksw0ss08g.31.7.78.133.sslip.io' # noqa
]
# Application definition
@@ -346,7 +347,8 @@ CORS_ALLOWED_ORIGINS = (
'http://192.168.88.130:3000',
'https://rasadyar.net',
'https://rasaddam-front.liara.run',
'https://dam.rasadyar.net'
'https://dam.rasadyar.net',
'http://ns0ck4ksk0koks8ksw0ss08g.31.7.78.133.sslip.io' # noqa
)
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
@@ -354,7 +356,7 @@ SECURE_SSL_REDIRECT = False
SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False
JAZZMIN_SETTINGS = {
JAZZMIN_SETTINGS = { # noqa
# title of the window (Will default to current_admin_site.site_title if absent or None)
"site_title": "Library Admin",