added synopsx, basex/basexhttp
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=gdp
|
||||||
|
|
||||||
|
CLIENT_ROOT=./client
|
||||||
|
SYNOPSX_ROOT=./synopsyx
|
||||||
|
LOG_ROOT=./log
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
client/*
|
client/*
|
||||||
api/*
|
synopsx/*
|
||||||
log/*
|
log/*
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
[submodule "client"]
|
[submodule "client"]
|
||||||
path = client
|
path = client
|
||||||
url = https://figureslibres.io/gogs/bachir/gdp_vuewp.git
|
url = https://figureslibres.io/gogs/bachir/gdp_vuewp.git
|
||||||
|
[submodule "synopsx"]
|
||||||
|
path = synopsx
|
||||||
|
url = https://github.com/guidesDeParis/synopsx.git
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
FROM basex/basexhttp:latest
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
COPY ./default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
COPY ./bashrc /root/.bashrc
|
||||||
|
COPY ./inputrc /root/.inputrc
|
||||||
@@ -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'
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
set show-all-if-ambiguous on
|
||||||
|
set completion-ignore-case on
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
# docker-gdp
|
# docker-gdp
|
||||||
|
|
||||||
|
https://github.com/guidesDeParis/webapp/blob/master/install.md
|
||||||
|
|
||||||
|
http://docs.basex.org/wiki/Docker
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user