Initial commit

This commit is contained in:
dave 2017-04-22 15:37:39 -07:00
commit d7ff93c1d3
6 changed files with 43 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "backupdb-scripts"]
path = backupdb-scripts
url = ssh://git@gitlab.davepedu.com:222/dave/datadb-scripts.git

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM apps2reg:5000/dpedu/nexus
ADD default /etc/nginx/sites-available/default
ADD makedirs /start.d/
ADD backupdb-scripts /usr/share/backupdb

1
README.md Normal file
View File

@ -0,0 +1 @@
For more info see: http://gitlab.davepedu.com/dave/datadb-cli

1
backupdb-scripts Submodule

@ -0,0 +1 @@
Subproject commit 7ab5761959b8143d19a0d3df83d2fc5617cc35e9

25
default Normal file
View File

@ -0,0 +1,25 @@
server {
listen 80 default_server;
#listen [::]:80 default_server ipv6only=on;
root /nexus/;
index index.html index.htm;
server_name localhost;
client_body_temp_path /nexus/datadb/tmp/;
location / {
autoindex on;
try_files $uri $uri/ =404;
}
location /cgi-bin/ {
alias /usr/share/backupdb/;
gzip off;
fastcgi_pass unix:/tmp/fcgiwrap.socket;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/share/backupdb$fastcgi_script_name;
fastcgi_read_timeout 600s;
fastcgi_send_timeout 600s;
client_max_body_size 4096m;
}
}

8
makedirs Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
mkdir -p /nexus/datadb/tmp /nexus/datadb/backups
chown nexus:nexus \
/nexus/datadb \
/nexus/datadb/tmp \
/nexus/datadb/backups