2023-02-15 21:45:31 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
wikijs:
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
image: linuxserver/wikijs:latest
|
|
|
|
container_name: wikijs
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2024-02-16 21:15:08 +00:00
|
|
|
- 8888:3000 # WEB UI
|
2023-02-15 21:45:31 +00:00
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/config:/config
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/data:/data
|
2023-02-15 21:45:31 +00:00
|
|
|
links:
|
|
|
|
- db
|
2024-02-16 21:15:08 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
db:
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=MySecureDatabasePassword
|
|
|
|
- POSTGRES_USER=wikijs
|
|
|
|
- POSTGRES_DB=wikijs
|
|
|
|
container_name: postgresql
|
|
|
|
image: postgres:13.4-bullseye
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/database:/var/lib/postgresql/data
|