jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

Cannot connect to database witk mapped docker-compose #38

Open gcraenen opened 2 years ago

gcraenen commented 2 years ago

Having exactly the same issues as refered to in this thread https://githubmemory.com/repo/jgeusebroek/docker-spotweb/issues/23

Can solve this with the solution in thread, copying mapped dbsettings file into docker file and disabling mapped volume. But this is no persistent solution, because it is lost when recreating or restarting the dockerfile.

This is the docker-compose I am using:

spotweb: image: jgeusebroek/spotweb:latest container_name: spotweb restart: unless-stopped networks: