From d14c15c595e9025637fdad360ca2c969c47b4258 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Sun, 1 Oct 2017 22:37:10 +0200 Subject: Add wiki service --- images/wiki/Dockerfile | 6 ++++++ services/wiki.yml | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 images/wiki/Dockerfile create mode 100644 services/wiki.yml diff --git a/images/wiki/Dockerfile b/images/wiki/Dockerfile new file mode 100644 index 0000000..fce11bc --- /dev/null +++ b/images/wiki/Dockerfile @@ -0,0 +1,6 @@ +FROM requarks/wiki:latest + +WORKDIR /var/wiki +ADD ssh /app/ssh +ADD config.yml config.yml +ENTRYPOINT ["node", "server"] diff --git a/services/wiki.yml b/services/wiki.yml new file mode 100644 index 0000000..f20f548 --- /dev/null +++ b/services/wiki.yml @@ -0,0 +1,20 @@ +version: '3' + +volumes: + wiki_db: + +services: + wiki_mongo: + image: mongo + command: '--smallfiles --logpath=/dev/null' + volumes: + - wiki_db:/data/db + + wiki: + build: $IMAGES/wiki + ports: + - "8080:80" + depends_on: + - wiki_mongo + environment: + WIKI_ADMIN_EMAIL: "till@hoeppner.ws" -- cgit v1.2.3