1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
This commit is contained in:
kev 2021-01-20 11:05:33 +08:00
parent 718e826c0f
commit 157106db2b
3 changed files with 35 additions and 0 deletions

View File

@ -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

6
wiki/README.md Normal file
View File

@ -0,0 +1,6 @@
wiki
====
[Wiki.js][1] | A modern, lightweight and powerful wiki app built on Node.js
[1]: https://wiki.js.org/

28
wiki/docker-compose.yml Normal file
View File

@ -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