TwentyT
Twenty2y ago
6 replies
thilles

database volume path

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?
Was this page helpful?