From be44169abb7ec3b462eb09a5e413316c9fb522ad Mon Sep 17 00:00:00 2001 From: Thomas Kerpe Date: Tue, 23 Jun 2026 15:52:32 +0200 Subject: [PATCH] Initial commit --- compose.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..f69ad61 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,32 @@ +services: + + db: + image: postgres:16 + environment: + POSTGRES_DB: wiki + POSTGRES_PASSWORD: wikijsrocks + POSTGRES_USER: wikijs + #logging: + # driver: none + restart: unless-stopped + volumes: + - db-data:/var/lib/postgresql/data + + wiki: + image: ghcr.io/requarks/wiki:2 + depends_on: + - db + init: true + environment: + DB_TYPE: postgres + DB_HOST: db + DB_PORT: 5432 + DB_USER: wikijs + DB_PASS: wikijsrocks + DB_NAME: wiki + restart: unless-stopped + ports: + - "80:3000" + +volumes: + db-data: \ No newline at end of file