You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
382 B

  1. version: '3'
  2. services:
  3. wikidb:
  4. image: mongo
  5. expose:
  6. - '27017'
  7. command: '--smallfiles --logpath=/dev/null'
  8. volumes:
  9. - ./data/mongo:/data/db
  10. wikijs:
  11. image: 'requarks/wiki:latest'
  12. links:
  13. - wikidb
  14. ports:
  15. - '80:3000'
  16. environment:
  17. WIKI_ADMIN_EMAIL: admin@example.com
  18. volumes:
  19. - ./config.yml:/var/wiki/config.yml