From 95c5ae7e5721dce58b6d30f8d1f3e9d78abf74c4 Mon Sep 17 00:00:00 2001 From: fxequals Date: Wed, 3 Sep 2025 21:20:13 -0400 Subject: [PATCH] fix: wiki-js now will boot correctly --- emerald-theory/wiki-js/wiki-js.yml | 40 ++++++++++++------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/emerald-theory/wiki-js/wiki-js.yml b/emerald-theory/wiki-js/wiki-js.yml index 5939816..fa145bb 100644 --- a/emerald-theory/wiki-js/wiki-js.yml +++ b/emerald-theory/wiki-js/wiki-js.yml @@ -1,10 +1,3 @@ ---- - -# Wiki.js -# Wikipedia style documentation -# Created by wiki.js -# ↳ https://link.to.github - services: wiki-js-server: image: ghcr.io/requarks/wiki:2 @@ -12,12 +5,11 @@ services: restart: unless-stopped depends_on: - wiki-js-database - networks: - - proxy -# ports: -# - 80:80 - + - proxy + # ports: + # - 80:80 + environment: PUID: 1000 PGID: 1000 @@ -27,26 +19,26 @@ services: DB_USER: ${DB_USER} DB_PASS: ${DB_PASS} DB_NAME: wiki - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro - + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro wiki-js-database: image: postgres:15-alpine container_name: wiki-js-database restart: unless-stopped - networks: - - proxy -# ports: -# - 3000:3000 - - volumes: - - /home/fxequals/docker/wiki-js/database:/var/lib/postgresql/data + - proxy + # ports: + # - 3000:3000 + environment: + POSTGRES_PASSWORD: ${DB_PASS} + POSTGRES_USER: ${DB_USER} + POSTGRES_DB: wiki + volumes: + - /home/fxequals/docker/wiki-js/database:/var/lib/postgresql/data networks: proxy: external: true -# Documentation available at https://docs.requarks.io/ \ No newline at end of file +# Documentation available at https://docs.requarks.io/