docker-compose.yml 463 B

1234567891011121314151617181920212223
  1. version: "3.5"
  2. services:
  3. basex:
  4. build: ./Docker/basex/
  5. ports:
  6. - 1984:1984
  7. - 8984:8984
  8. volumes:
  9. - "${DATA_ROOT}:/srv/basex/data"
  10. - "${SYNOPSX_ROOT}:/srv/basex/webapp/synopsx"
  11. # - "${LOG_ROOT}:/var/log:rw"
  12. nginx:
  13. build: ./Docker/nginx/
  14. ports:
  15. - 8990:80
  16. volumes:
  17. - "${CLIENT_ROOT}:/var/www/html"
  18. - "${LOG_ROOT}:/var/log:rw"
  19. working_dir: "/var/www/html/"
  20. depends_on:
  21. - basex