diff --git a/Dockerfile b/Dockerfile index 5b389ff..45ee636 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,8 @@ RUN apk add --no-cache \ openjdk21-jdk \ git \ curl -RUN curl -O https://download.clojure.org/install/linux-install-1.11.1.1435.sh && chmod +x linux-install-1.11.1.1435.sh && ./linux-install-1.11.1.1435.sh +#RUN curl -O https://download.clojure.org/install/linux-install-1.11.1.1435.sh && chmod +x linux-install-1.11.1.1435.sh && ./linux-install-1.11.1.1435.sh +RUN curl -LO https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh && chmod +x linux-install.sh && ./linux-install.sh RUN git clone https://github.com/logseq/logseq.git && cd logseq && yarn install #build db-sync RUN cd logseq/deps/db-sync && yarn install && yarn build:node-adapter && yarn install --production diff --git a/docker-compose.yaml b/docker-compose.yaml index 04315d9..2010f34 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,6 +2,8 @@ services: logseq-sync: container_name: logseq-sync image: "codeberg.org/kellya/logseq-sync:latest" + ports: + - 8787:8787 volumes: - ./data:/logseq-sync/data # or use a named volume and uncomment the volume section below