Comments (4)
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.
Hi @artivis
Mounted data folder to /wiki and application stared without issues and excessive logging.
from wikmd.
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.
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
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)
- Pandoc error (MacOS)? HOT 4
- [1.8.2] permission denied on /var/log/wikimd.log HOT 5
- Docker builds fail because `requirements.txt` is not available in the build context HOT 1
- docker missing arches HOT 1
- [Docker] Update init scripts
- [1.8.3] Unreadable links in Dark theme
- Search not working? HOT 2
- Permission issues from draw plugin HOT 3
- Consider switching from lxml's clean_html for enhanced security (and possibly performance) HOT 1
- Error when saving edited/created page - PermissionError HOT 3
- How to add git authentication? HOT 2
- make app use https_proxy env variable
- Improve project structure HOT 3
- Consider use `pathlib` over `os.path` HOT 1
- Ensure that the page name provided is secure and can be saved to disk.
- Empty folders should be removed
- Drawings missing from git HOT 3
- RuntimeError: Cannot understand pandocversion=3.1.8 HOT 1
- pypandoc error HOT 2
- Dependency on internet access HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikmd.