tried reverse proxying with nginx to get around cross domain security problemen with basex, not working

This commit is contained in:
2019-07-23 17:07:19 +02:00
parent c27037ff16
commit 77c68f4dd5
6 changed files with 97 additions and 0 deletions
+23
View File
@@ -12,6 +12,8 @@ services:
- 1984:1984
- 8984:8984
working_dir: "/srv/basex"
networks:
- api
client:
build: ./Docker/client
@@ -23,7 +25,28 @@ services:
working_dir: "/app"
depends_on:
- basex
networks:
- client
nginx:
build: ./Docker/nginx/
ports:
- 8999:80
volumes:
- "${LOG_ROOT}:/var/log:rw"
# working_dir: "/var/www/html"
depends_on:
- basex
- client
networks:
- api
- client
volumes:
basex-home:
# client-home:
networks:
api:
client: