Wikijs

---

services:
  db-wiki:
    image: postgres:11-alpine
    container_name: db-wiki
    restart: unless-stopped
    environment:
      POSTGRES_DB: wiki
      POSTGRES_PASSWORD: ${PASS-DB-WIKIJS}
      POSTGRES_USER: ${USER-DB-WIKIJS}
    logging:
      driver: "none"
    volumes:
      - ${DB-WIKIJS}:/var/lib/postgresql/data

  wikijs:
    image: ghcr.io/requarks/wiki:2
    container_name: wikijs
    restart: unless-stopped
    depends_on:
      - wiki-db
    environment:
      DB_TYPE: postgres
      DB_HOST: db-wiki
      DB_PORT: 5432
      DB_USER: wikijs
      DB_PASS: ${PASS-DB-WIKI}
      DB_NAME: wiki
    ports:
      - "8089:3000"