added synopsx, basex/basexhttp

This commit is contained in:
2019-07-18 14:57:12 +02:00
parent 8089a1c852
commit 1a930deafc
11 changed files with 77 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
COMPOSE_PROJECT_NAME=gdp
CLIENT_ROOT=./client
SYNOPSX_ROOT=./synopsyx
LOG_ROOT=./log
+1 -1
View File
@@ -1,3 +1,3 @@
client/*
api/*
synopsx/*
log/*
+3
View File
@@ -1,3 +1,6 @@
[submodule "client"]
path = client
url = https://figureslibres.io/gogs/bachir/gdp_vuewp.git
[submodule "synopsx"]
path = synopsx
url = https://github.com/guidesDeParis/synopsx.git
+1
View File
@@ -0,0 +1 @@
FROM basex/basexhttp:latest
+5
View File
@@ -0,0 +1,5 @@
FROM nginx:latest
COPY ./default.conf /etc/nginx/conf.d/default.conf
COPY ./bashrc /root/.bashrc
COPY ./inputrc /root/.inputrc
+3
View File
@@ -0,0 +1,3 @@
PS1='\e[36m\e[1mNGINX\e[0m:\e[90m\w\e[0m\n$ '
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
+25
View File
@@ -0,0 +1,25 @@
server {
listen 80 default_server;
root /var/www/html/dist;
index index.html;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log on;
error_log /var/log/nginx/error.log error;
sendfile off;
client_max_body_size 100m;
location ~ /\.ht {
deny all;
}
}
+2
View File
@@ -0,0 +1,2 @@
set show-all-if-ambiguous on
set completion-ignore-case on
+3
View File
@@ -1,2 +1,5 @@
# docker-gdp
https://github.com/guidesDeParis/webapp/blob/master/install.md
http://docs.basex.org/wiki/Docker
+28
View File
@@ -0,0 +1,28 @@
version: "3.5"
services:
basex:
build: ./Docker/basex
ports:
- 1984:1984
- 8984:8984
# volumes:
- "${SYNOPSX_ROOT}:/srv/basex/webapp/synopsx"
# - "${API_ROOT}:/srv/basex/data"
# - "${}:/srv/basex/repo"
# - "${LOG_ROOT}:/var/log:rw"
nginx:
build: ./Docker/nginx/
ports:
- 8990:80
volumes:
- "${CLIENT_ROOT}:/var/www/html"
- "${LOG_ROOT}:/var/log:rw"
working_dir: "/var/www/html/"
networks:
depends_on:
volumes:
networks:
Submodule
+1
Submodule synopsx added at 4f4c2d89cd