From 157106db2b6b77b5c37b2f5b24758a2a0ac46d9d Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 20 Jan 2021 11:05:33 +0800 Subject: [PATCH] add wiki --- README.md | 1 + wiki/README.md | 6 ++++++ wiki/docker-compose.yml | 28 ++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 wiki/README.md create mode 100644 wiki/docker-compose.yml diff --git a/README.md b/README.md index 5b20238..445ecd5 100644 --- a/README.md +++ b/README.md @@ -388,6 +388,7 @@ A collection of delicious docker recipes. - [x] centurylink/watchtower - [x] anapsix/webdis - [x] wekanteam/wekan +- [x] requarks/wiki - [x] yourls - [x] zookeeper - [x] elkozmon/zoonavigator diff --git a/wiki/README.md b/wiki/README.md new file mode 100644 index 0000000..5264046 --- /dev/null +++ b/wiki/README.md @@ -0,0 +1,6 @@ +wiki +==== + +[Wiki.js][1] | A modern, lightweight and powerful wiki app built on Node.js + +[1]: https://wiki.js.org/ diff --git a/wiki/docker-compose.yml b/wiki/docker-compose.yml new file mode 100644 index 0000000..67d1f1b --- /dev/null +++ b/wiki/docker-compose.yml @@ -0,0 +1,28 @@ +version: "3.8" + +services: + + wiki: + image: requarks/wiki:2 + ports: + - "3000:3000" + environment: + - DB_TYPE=postgres + - DB_HOST=postgres + - DB_PORT=5432 + - DB_USER=wiki + - DB_PASS=wiki + - DB_NAME=wiki + depends_on: + - postgres + restart: unless-stopped + + postgres: + image: postgres:11-alpine + volumes: + - ./data:/var/lib/postgresql/data + environment: + - POSTGRES_DB=wiki + - POSTGRES_PASSWORD=wiki + - POSTGRES_USER=wiki + restart: unless-stopped