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

Hey Guys can you help me with the docker-compose setup ?
i've a basic docker-compose file that works fine ( i'm actually in dev ).

the problem is that when the casdoor container is created the entrypoint is

/bin/sh -c './server --createDatabase=true

as in the docker-compose example

by the way this cause an error when the compose container is stopped and restarted ( or docker itself is restarted).
after the restart the casdoor image exits with an error 'cause it tries to reinitialize the db ( and also use the init_data.json) but it will go in duplicate keys error since the db was already created and "seeded" the first time...

some help please?