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.

59 lines
1.1 KiB

  1. # -- DEV DOCKER-COMPOSE --
  2. # -- DO NOT USE IN PRODUCTION! --
  3. version: "3"
  4. services:
  5. db:
  6. container_name: wiki-db
  7. image: postgres:9-alpine
  8. environment:
  9. POSTGRES_DB: wiki
  10. POSTGRES_PASSWORD: wikijsrocks
  11. POSTGRES_USER: wikijs
  12. logging:
  13. driver: "none"
  14. volumes:
  15. - db-data:/var/lib/postgresql/data
  16. ports:
  17. - "15432:5432"
  18. adminer:
  19. container_name: wiki-adminer
  20. image: adminer:latest
  21. logging:
  22. driver: "none"
  23. ports:
  24. - "3001:8080"
  25. # solr:
  26. # container_name: wiki-solr
  27. # image: solr:7-alpine
  28. # logging:
  29. # driver: "none"
  30. # ports:
  31. # - "8983:8983"
  32. # volumes:
  33. # - solr-data:/opt/solr/server/solr/mycores
  34. # entrypoint:
  35. # - docker-entrypoint.sh
  36. # - solr-precreate
  37. # - wiki
  38. wiki:
  39. container_name: wiki-app
  40. build:
  41. context: ../..
  42. dockerfile: dev/containers/Dockerfile
  43. depends_on:
  44. - db
  45. ports:
  46. - "3000:3000"
  47. volumes:
  48. - ../..:/wiki
  49. - /wiki/node_modules
  50. - /wiki/.git
  51. volumes:
  52. db-data:
  53. # solr-data: