mirror of https://github.com/vimagick/dockerfiles
add wiki
This commit is contained in:
parent
718e826c0f
commit
157106db2b
|
@ -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
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
wiki
|
||||
====
|
||||
|
||||
[Wiki.js][1] | A modern, lightweight and powerful wiki app built on Node.js
|
||||
|
||||
[1]: https://wiki.js.org/
|
|
@ -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
|
Loading…
Reference in New Issue