docker-compose.yml 640 B

12345678910111213141516171819202122232425262728293031
  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. client:
  16. build: ./Docker/client
  17. volumes:
  18. - "${CLIENT_ROOT}:/app"
  19. # - client-home:/home/gdp
  20. ports:
  21. - 8988:8988
  22. working_dir: "/app"
  23. depends_on:
  24. - basex
  25. environment:
  26. - APP_ENV=dev
  27. volumes:
  28. basex-home:
  29. # client-home: