mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-28 06:21:14 +00:00
30 lines
685 B
YAML
30 lines
685 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
wikijs:
|
||
|
environment:
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- TZ=Europe/Berlin
|
||
|
image: linuxserver/wikijs:latest
|
||
|
container_name: wikijs
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 3000:3000 # WEB UI
|
||
|
volumes:
|
||
|
- /mnt/docker-volumes/wikijs/config:/config
|
||
|
- /mnt/docker-volumes/wikijs/data:/data
|
||
|
links:
|
||
|
- db
|
||
|
|
||
|
db:
|
||
|
environment:
|
||
|
- POSTGRES_PASSWORD=MySecureDatabasePassword
|
||
|
- POSTGRES_USER=wikijs
|
||
|
- POSTGRES_DB=wikijs
|
||
|
container_name: postgresql
|
||
|
image: postgres:13.4-bullseye
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /mnt/docker-volumes/wikijs/database:/var/lib/postgresql/data
|