Browse Source

Added wikijs

Removed build section for acme-dns
pull/1/head
Julien Escario 4 years ago
parent
commit
9caabd2f2f
  1. 3
      docker/acme-dns.yaml
  2. 32
      docker/wikijs.yaml

3
docker/acme-dns.yaml

@ -1,9 +1,6 @@
version: '2'
services:
acmedns:
build:
context: .
dockerfile: Dockerfile
image: joohoi/acme-dns:latest
ports:
- "443:443"

32
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:
Loading…
Cancel
Save