docker compose template für havelwerk wiki erstellt
This commit is contained in:
parent
41076dea06
commit
ac0b712b28
|
@ -0,0 +1,27 @@
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:{{ wikijs.postgresql_release }}
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: {{ havelwerk.wikijs.postgresql_db }}
|
||||||
|
POSTGRES_PASSWORD: {{ havelwerk.wikijs.postgresql_password }}
|
||||||
|
POSTGRES_USER: {{ havelwerk.wikijs.postgresql_user }}
|
||||||
|
logging:
|
||||||
|
driver: "none"
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /home/docker/data/{{ havelwerk.wikijs.name }}/db-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
wiki:
|
||||||
|
image: ghcr.io/requarks/wiki:{{ wikijs.release }}
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
environment:
|
||||||
|
DB_TYPE: postgres
|
||||||
|
DB_HOST: db
|
||||||
|
DB_PORT: 5432
|
||||||
|
DB_USER: {{ havelwerk.wikijs.postgresql_user }}
|
||||||
|
DB_PASS: {{ havelwerk.wikijs.postgresql_password }}
|
||||||
|
DB_NAME: {{ havelwerk.wikijs.postgresql_db }}
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue