docker-compose.yml 860 B

12345678910111213141516171819202122232425262728293031
  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:
  19. - 27017
  20. wekan:
  21. image: mquandalle/wekan
  22. links:
  23. - wekandb
  24. environment:
  25. - MONGO_URL=mongodb://wekandb/wekan
  26. - ROOT_URL=http://localhost:80
  27. ports:
  28. - 80:80