#database volume path

1 messages · Page 1 of 1 (latest)

iron depot
#

Question about the volume path for the database. In the self-hosted docs the docker-compose specifies

  db:
    image: twentycrm/twenty-postgres:${TAG}
    volumes:
      - twenty-db-data:/var/lib/postgresql/data

What´s the volume´s use case?
I´m guessing persistant storage for the postgres db. But the docker image used is bitnami/postgresql, which says the volume should be mounted at /bitnami/postgresql
https://github.com/bitnami/containers/tree/main/bitnami/postgresql#persisting-your-database

What`s the right thing to mount?

olive iris
#

cc @forest frost

forest frost
#

Good catch!
I'll issue a fix right now 🙏

#

@olive iris I'll fix it in the dev docker-compose and in the new prod docker-compose too

olive iris
#

And @iron depot of course