automaticly create the basex db from sourcesPrep

This commit is contained in:
2019-07-19 10:57:45 +02:00
parent c5f1469cde
commit 9644e66fbf
5 changed files with 43 additions and 14 deletions
+16 -12
View File
@@ -1,8 +1,8 @@
version: "3.5"
version: '3.7'
services:
basex:
build: ./Docker/basex/
ports:
- 1984:1984
- 8984:8984
@@ -10,15 +10,19 @@ services:
- "${SYNOPSX_ROOT}:/srv/basex/webapp/synopsx"
- "${WEBAPP_ROOT}:/srv/basex/webapp/synopsx/workspace/gdp"
- "${DATA_ROOT}:/srv/basex/src"
- basex-home:/srv
# - "${LOG_ROOT}:/var/log:rw"
working_dir: "/srv/basex"
nginx:
build: ./Docker/nginx/
ports:
- 8990:80
volumes:
- "${CLIENT_ROOT}:/var/www/html"
- "${LOG_ROOT}:/var/log:rw"
working_dir: "/var/www/html/"
depends_on:
- basex
# nginx:
# build: ./Docker/nginx/
# ports:
# - 8990:80
# volumes:
# - "${CLIENT_ROOT}:/var/www/html"
# - "${LOG_ROOT}:/var/log:rw"
# working_dir: "/var/www/html/"
# depends_on:
# - basex
volumes:
basex-home: