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.

64 lines
1.1 KiB

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