You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
# [Wikijs](https://github.com/Requarks/wiki) A modern, lightweight and powerful
|
|
# wiki app built on NodeJS.
|
|
|
|
---
|
|
version: "2.1"
|
|
services:
|
|
wikijs:
|
|
image: ghcr.io/linuxserver/wikijs
|
|
container_name: wikijs
|
|
environment:
|
|
# for UserID
|
|
- PUID=${PUID:-1024}
|
|
# for GroupID
|
|
- PGID=${PGID:-100}
|
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
# Set to sqlite (default) or postgres depending on the database engine you wish to use
|
|
- DB_TYPE=sqlite # optional
|
|
# DB hostname (postgres only)
|
|
- DB_HOST= # optional
|
|
# DB port (postgres only)
|
|
- DB_PORT= # optional
|
|
# DB name (postgres only)
|
|
- DB_NAME= # optional
|
|
# DB username (postgres only)
|
|
- DB_USER= # optional
|
|
# DB password (postgres only)
|
|
- DB_PASS= # optional
|
|
volumes:
|
|
# Where Wiki.js config is stored.
|
|
- ${BASEDIR:-/volume1/docker}/wikijs/config:/config
|
|
# Where Wiki.js data is stored.
|
|
- ${BASEDIR:-/volume1/docker}/wikijs/data:/data
|
|
ports:
|
|
# Port for Wiki.js's web interface.
|
|
- 3000:3000
|
|
restart: unless-stopped
|