31 lines
582 B
YAML
31 lines
582 B
YAML
|
# https://fleet.linuxserver.io/image?name=linuxserver/wikijs
|
||
|
|
||
|
#cd /docker/wikijs
|
||
|
|
||
|
---
|
||
|
version: "2.1"
|
||
|
services:
|
||
|
wikijs:
|
||
|
image: linuxserver/wikijs
|
||
|
container_name: wikijs
|
||
|
depends_on:
|
||
|
- db
|
||
|
environment:
|
||
|
- PUID=xxxx
|
||
|
- PGID=xxxx
|
||
|
- TZ=Europe/Amsterdam
|
||
|
volumes:
|
||
|
- ./config:/config
|
||
|
- ./data:/data
|
||
|
ports:
|
||
|
- 3000:3000
|
||
|
restart: unless-stopped
|
||
|
|
||
|
db:
|
||
|
image: postgres:13
|
||
|
container_name: wikijs_db
|
||
|
restart: always
|
||
|
environment:
|
||
|
POSTGRES_DB: wikijs
|
||
|
POSTGRES_USER: root
|
||
|
POSTGRES_PASSWORD: xxxxxx
|