Git Product home page Git Product logo

Comments (4)

artivis avatar artivis commented on June 13, 2024 1

Hi @l-maciej,

Why don't you simply mount your volume under /wiki (and remove WIKI_DIRECTORY)?

...
volumes:
    - pages:/wiki
...

As for the permission issue in /tmp, a possible fix could be to change the permission, e.g. changing this line as

  chown abc:abc /var/log/wikmd.log /tmp

Without having tested it I'm not sure if it would cause other issues tho.

from wikmd.

l-maciej avatar l-maciej commented on June 13, 2024 1

Hi @artivis
Mounted data folder to /wiki and application stared without issues and excessive logging.

from wikmd.

Linbreux avatar Linbreux commented on June 13, 2024

Alright thanks for noticing and the detailed instructions. I think the is because the wiki folder is hardcoded here and this should be an environment variable.

I'll fix it asap. Does it work when you do not specify the directory?

from wikmd.

l-maciej avatar l-maciej commented on June 13, 2024
version: "2.1"
services:
  wikmd:
    image: linbreux/wikmd:latest
    container_name: wikmd
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=Europe/Warsaw
      - WIKI_DIRECTORY=/pages
      - HOMEPAGE=homepage.md
      - HOMEPAGE_TITLE=Homepage
      - SYNCH_WITH_REMOTE=1
      - REMOTE_URL="XXXXX"
      - GIT_USER=wikmdSYnc
      - [email protected]
      - MAIN_BRANCH_NAME=workingcopy
    volumes:
    - pages:/pages
    ports:
      - 5000:5000
    restart: unless-stopped
volumes:
  pages:

Causes same issue with moving data to temp folder

image

Maybe different init method when using sync with remote is enabled - just remove all examples since data will be pulled from git anyway

from wikmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.