diff options
-rw-r--r-- | images/wiki/Dockerfile | 6 | ||||
-rw-r--r-- | services/wiki.yml | 20 |
2 files changed, 26 insertions, 0 deletions
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" |