docker-bits/lsio/wikijs/docker-run.sh

15 lines
625 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Wikijs](https://github.com/Requarks/wiki) A modern, lightweight and powerful
# wiki app built on NodeJS.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=wikijs \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-p 3000:3000 `# Port for Wiki.js's web interface.` \
-v ${BASEDIR:-/volume1/docker}/wikijs/config:/config `# Where Wiki.js config is stored.` \
-v ${BASEDIR:-/volume1/docker}/wikijs/data:/data `# Where Wiki.js data is stored.` \
--restart unless-stopped \
ghcr.io/linuxserver/wikijs