Mapping Volumn question in docker compose

I’m going to deploy logseq with docker-copmose, I found a written docker-compose (like below), but it doesn’t set the data(volumn) mount path, so once I destroy the container, my notes will be lost. So horrible.

I rummaged through the manual and couldn’t find out which path the note file is in the container when deployed with docker.

Can anyone help me?

1 Like
version: '3'
services:
  logseq:
    image: ghcr.io/logseq/logseq-webapp:latest
    container_name: logseq
    ports:
      - 7022:80
    restart: "no"

I did run the ghcr.io/logseq/logseq-webapp:latest locally and it seems it is configured to use a local folder that the user defines on first startup… the folder is accessed via FileSystem API … so no webserver storage

I would also love to host a docker-service logseq … to share notes with my co-workers… but cannot find (by now) a solution

but here is a discussion about it Local (on-server) storage for self-hosted Logseq