docker-compose.yml 854 B

123456789101112131415161718192021222324252627282930
  1. # You can read the Docker Compose documentation at:
  2. #
  3. # https://docs.docker.com/compose/
  4. #
  5. # Run with file with `docker-compose up -d`.
  6. #
  7. # We use two separate Docker containers: one for the database and one for the
  8. # Wekan application. The Wekan container doensn’t contain any mutable state
  9. # (all the user data, even uploads, are saved in the database) so updating it
  10. # is as simple as stoping the old version and starting the new one. If you want
  11. # to update the database you need to uncomment the volume section below.
  12. wekandb:
  13. image: mongo
  14. # volumes:
  15. # - ./data/runtime/db:/data/db
  16. # - ./data/dump:/dump
  17. command: mongod --smallfiles --oplogSize 128
  18. ports: 27017
  19. wekan:
  20. image: mquandalle/wekan
  21. links:
  22. - wekandb
  23. environment:
  24. - MONGO_URL=mongodb://wekandb/wekan
  25. - ROOT_URL=http://localhost:80
  26. ports:
  27. - 80:80