From 9caabd2f2ff3b1e0feca25782e6c5d2f53ad0251 Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Fri, 19 Feb 2021 17:55:15 +0100 Subject: [PATCH] Added wikijs Removed build section for acme-dns --- docker/acme-dns.yaml | 3 --- docker/wikijs.yaml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 docker/wikijs.yaml diff --git a/docker/acme-dns.yaml b/docker/acme-dns.yaml index 7ca7275..4ed6b31 100644 --- a/docker/acme-dns.yaml +++ b/docker/acme-dns.yaml @@ -1,9 +1,6 @@ version: '2' services: acmedns: - build: - context: . - dockerfile: Dockerfile image: joohoi/acme-dns:latest ports: - "443:443" diff --git a/docker/wikijs.yaml b/docker/wikijs.yaml new file mode 100644 index 0000000..ae48649 --- /dev/null +++ b/docker/wikijs.yaml @@ -0,0 +1,32 @@ +version: "3" +services: + + db: + image: postgres:11-alpine + environment: + POSTGRES_DB: wiki + POSTGRES_PASSWORD: wikijsrocks + POSTGRES_USER: wikijs + logging: + driver: "none" + restart: unless-stopped + volumes: + - db-data:/var/lib/postgresql/data + + wiki: + image: requarks/wiki:2 + depends_on: + - db + environment: + DB_TYPE: postgres + DB_HOST: db + DB_PORT: 5432 + DB_USER: wikijs + DB_PASS: wikijsrocks + DB_NAME: wiki + restart: unless-stopped + ports: + - "8080:3000" + +volumes: + db-data: