π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Test: print domains client & cookie
Smaug6739a8dfc73c7211
diff --git a/backend/main.go b/backend/main.goindex 05c93416..c7d50d84 100644--- a/backend/main.go+++ b/backend/main.go@@ -14,6 +14,9 @@ func main() {os.Exit(1)}fmt.Println("Starting server on port:", port)+ fmt.Println("Configuration:")+ fmt.Println("DOMAIN_CLIENT:", os.Getenv("DOMAIN_CLIENT"))+ fmt.Println("COOKIE_DOMAIN:", os.Getenv("COOKIE_DOMAIN"))defer application.DB.Close()server.Run(":" + fmt.Sprintf("%s", port))diff --git a/docker-compose.yml b/docker-compose.ymlindex aeee89d9..bbc3a07d 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -57,10 +57,10 @@ services:# Application ConfigurationJWT_SECRET: your-secure-jwt-secret-key-change-this-in-production- DOMAIN_CLIENT: http://localhost:8200- COOKIE_DOMAIN: localhost+ DOMAIN_CLIENT: http://localhost:8200 # For CORS Policy, if you have "Cors" error, check this+ COOKIE_DOMAIN: localhost # For setting cookie domain: If you can't login (or you are disconnected immediatly), check this- # MinIO Configuration+ # MinIO Configuration (optional, you can replace config with "" to disable MinIO usage)MINIO_ENDPOINT: minio:9000MINIO_ACCESSKEY: minioadminMINIO_SECRETKEY: minioadmin