docker-bits/lsio/wikijs/docker-run.sh
2021-04-13 00:58:58 +00:00

14 lines
587 B
Bash

# Wikijs A modern, lightweight and powerful wiki app built on NodeJS.
source ./.env
docker run -d \
--name=wikijs \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-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