version: "3.9" services: wikijs-db: image: postgres:11-alpine environment: POSTGRES_DB: wikijs POSTGRES_USER: wikijs POSTGRES_PASSWORD: wikijsrocks logging: driver: "none" volumes: - /home/user/wikijs/db:/var/lib/postgresql/data networks: - wikijs wikijs: image: ghcr.io/requarks/wiki:2 depends_on: - wikijs-db volumes: - /home/user/wikijs/config.yml:/wiki/config.yml ports: - "80:3000" networks: - wikijs networks: wikijs: external: true name: wikijs