Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

I installed casdoor and changed the following entry in my conf/app.conf:
casdoorEndpoint = http://vm-core.fritz.box:8005

(i also changed clientId, clientSecret, casdoorOrganization, casdoorApplication)

When i try to access casibase i get redirected to https://door.casdoor.com/login/oauth/authorize
Any idea whats wrong?

This is my compose:

version: '3.3'

services:
  casibase:
    image: casbin/casibase:v1.179.0
    container_name: casibase
    ports:
      - "14000:14000"
    environment:
      RUNNING_IN_DOCKER: "true"
    volumes:
      - ./conf/app.conf:/conf/app.conf
2views
4users
1 minread

Is it because of web/src/Conf.js? Do i have to mount this file via Docker as well? I'm not using the classic clone installation

Mounting that file via docker won't do anything as it does not exist in the built image, it's only used during the build. Therefore you have to clone, edit the file, build, and then deploy.

I could be wrong but I've read the docs thoroughly (https://casibase.org/docs/basic/try-with-docker is the relevant section for Docker) and tried configuring via environment variables and mounting the config file, and it still redirects to door.casdoor.com.

without going further into details, i updated my docker image from 1.189.0 to 1.197.0, restarted the stack and now i am getting an error during boot. the error message is pretty vague, any ideas what it could be?

panic: strconv.Atoi: parsing "/server": invalid syntax

goroutine 1 [running]:

main.main()
    
/go/src/casibase/main.go:66 +0x59b
1 / 11
Nov 2024