From 16dc70107786a6b72d1c813a0ce688969182e711 Mon Sep 17 00:00:00 2001 From: zhuifenghero Date: Sun, 3 May 2026 18:57:48 +0000 Subject: [PATCH] =?UTF-8?q?wiki=20=E5=88=9D=E5=A7=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + compose.yml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ef2237 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wikijs_backup.sql diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..fb15cfd --- /dev/null +++ b/compose.yml @@ -0,0 +1,20 @@ +services: + wiki: + image: ghcr.io/requarks/wiki:2 + container_name: wiki + restart: unless-stopped + ports: + - "127.0.0.1:3000:3000" + environment: + DB_TYPE: postgres + DB_HOST: postgres + DB_PORT: 5432 + DB_USER: wikijs + DB_PASS: Tcd@852911 + DB_NAME: wikijs + networks: + - shared_network + +networks: + shared_network: + external: true