You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
web_1 | django.db.utils.OperationalError: could not connect to server: Connection refused
web_1 | Is the server running on host "db" (172.25.0.3) and accepting
web_1 | TCP/IP connections on port 5432?
if i not specify path on host machine - it works. Like this:
But its not useful - Docker creates volumes somewhere in /var/lib/docker/volumes/modelchimp_postgres-data/_data (on Mac). It would be better to store all data in project folder.
The text was updated successfully, but these errors were encountered:
@cnstntn-kndrtv
Just pushed in a commit that persists the postgres data in the local project folder. You can refer the below commit to see the changes I made to the docker file and added an additional script that helps modelchimp to startup when the local folder is used for docker postgres. You can pull the latest code and execute "bash docker.sh". commit
You were pretty much on the right track. Following one works
Is there any way to mount local volume for Redis data in docker-compose?
i have already tried this:
and this:
and always get same error:
if i not specify path on host machine - it works. Like this:
But its not useful - Docker creates volumes somewhere in
/var/lib/docker/volumes/modelchimp_postgres-data/_data
(on Mac). It would be better to store all data in project folder.The text was updated successfully, but these errors were encountered: