docker-compose.yml 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. version: '3.7'
  2. services:
  3. basex:
  4. build: ./Docker/basex/
  5. volumes:
  6. - "${SYNOPSX_ROOT}:/srv/basex/webapp/synopsx"
  7. - "${WEBAPP_ROOT}:/srv/basex/webapp/synopsx/workspace/gdp"
  8. - "${DATA_ROOT}:/srv/basex/src"
  9. - basex-home:/srv
  10. # - "${LOG_ROOT}:/var/log:rw"
  11. ports:
  12. - 1984:1984
  13. - 8984:8984
  14. working_dir: "/srv/basex"
  15. networks:
  16. - api
  17. client:
  18. build: ./Docker/client
  19. volumes:
  20. - "${CLIENT_ROOT}:/app"
  21. # - client-home:/home/gdp
  22. ports:
  23. - 8988:8988
  24. working_dir: "/app"
  25. depends_on:
  26. - basex
  27. networks:
  28. - client
  29. nginx:
  30. build: ./Docker/nginx/
  31. ports:
  32. - 8999:80
  33. volumes:
  34. - "${LOG_ROOT}:/var/log:rw"
  35. # working_dir: "/var/www/html"
  36. depends_on:
  37. - basex
  38. - client
  39. networks:
  40. - api
  41. - client
  42. volumes:
  43. basex-home:
  44. # client-home:
  45. networks:
  46. api:
  47. client: