mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 15:20:40 +00:00
Fix CSRF Login issues, adjust PAPERLESS_URL environment variable reference
`PAPERLESS_URL` has to be without port reference to avoid Django CSRF issues when logging in. Otherwise the trusted origin in Django will be set to the url with port
This commit is contained in:
@@ -37,7 +37,7 @@ services:
|
||||
is_directory: true
|
||||
environment:
|
||||
- SERVICE_URL_PAPERLESS_8000
|
||||
- PAPERLESS_URL=$SERVICE_URL_PAPERLESS_8000
|
||||
- PAPERLESS_URL=$SERVICE_URL_PAPERLESS
|
||||
- PAPERLESS_ADMIN_PASSWORD=${SERVICE_PASSWORD_PAPERLESS}
|
||||
- PAPERLESS_ADMIN_USER=${SERVICE_USER_PAPERLESS}
|
||||
- PAPERLESS_REDIS=redis://redis:6379
|
||||
|
||||
Reference in New Issue
Block a user