update docker

master
Paul Walko 2022-03-09 09:42:15 -05:00
parent 3abdc7cbd3
commit 75b49a133d
5 changed files with 29 additions and 103 deletions

28
fogcutter/docker/mapproxy.sh Executable file
View File

@ -0,0 +1,28 @@
#!/bin/bash
set -e
up () {
docker network create pew-net || true
# Exposed on port 8080 in pew-net
docker run \
--detach \
--name mapproxy \
--volume /bigdata/k8s-config/mapproxy/mapproxy.yaml:/mapproxy/mapproxy.yaml:ro \
--volume /bigdata/k8s-config/mapproxy/seed.yaml:/mapproxy/seed.yaml:ro \
--volume /bigdata/gis/mapproxy/cache_data:/mapproxy/cache_data:rw \
--network pew-net \
docker.io/kartoza/mapproxy:latest
}
down () {
docker stop mapproxy || true
docker rm mapproxy || true
}
logs () {
docker logs --follow mapproxy
}
$@

View File

@ -1,25 +0,0 @@
#!/bin/bash
set -e
up () {
# Poll interval: 1800s (30 mins)
docker run \
--detach \
--name nfs \
--volume /bigdata/tmp/echarlie-photos:/bigdata/tmp/echarlie-photos:rw \
--volume /bigdata/k8s-config/nfs/exports.txt:/etc/exports.txt \
--volume /var/run/docker.sock:/var/run/docker.sock:rw \
erichough/nfs-server:latest
}
down () {
docker stop nfs || true
docker rm nfs || true
}
logs () {
docker logs --follow nfs
}
$@

View File

@ -17,7 +17,7 @@ up () {
--env URL=seaturtle.pw \ --env URL=seaturtle.pw \
--env VALIDATION=http \ --env VALIDATION=http \
--env EMAIL=paulsw.pw@gmail.com \ --env EMAIL=paulsw.pw@gmail.com \
--env SUBDOMAINS=cave,ff,git,jf,nc,plex \ --env SUBDOMAINS=cave,ff,git,jf,mp,nc,plex \
--env EXTRA_DOMAINS=paul.walko.org,tile.bigcavemaps.com \ --env EXTRA_DOMAINS=paul.walko.org,tile.bigcavemaps.com \
--volume /bigdata/k8s-config/nginx/nginx.conf:/config/nginx/nginx.conf:ro \ --volume /bigdata/k8s-config/nginx/nginx.conf:/config/nginx/nginx.conf:ro \
--volume /bigdata/files:/files:ro \ --volume /bigdata/files:/files:ro \

View File

@ -1,52 +0,0 @@
#!/bin/bash
set -e
##### Update as follows #####
#/etc/apache2/conf.d # cat dav_svn.conf
#LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
#LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
#
#<Location /svn>
# DAV svn
# SVNParentPath /home/svn
# SVNListParentPath On
# Allow from All
# Satisfy Any
## AuthType Basic
## AuthName "Subversion Repository"
## AuthUserFile /etc/subversion/passwd
# AuthzSVNAccessFile /etc/subversion/subversion-access-control
## Require valid-user
# </Location>
# See https://github.com/elleFlorio/svn-docker for adding users
up () {
docker network create pew-net || true
# Exposed on port 80 in pew-net
docker run \
--detach \
--name tunnelvr-fileserver \
--restart unless-stopped \
--volume /bigdata/archive/vpicc-private/tunnelvr:/home/svn:rw \
--volume svn_config:/etc/subversion \
--volume svnadmin_config:/opt/svnadmin/data \
--publish 10.42.0.203:8081:80 \
--publish 10.42.0.203:3690:3690 \
--network pew-net \
elleflorio/svn-server:latest
}
down () {
docker stop tunnelvr-fileserver || true
docker rm tunnelvr-fileserver || true
}
logs () {
docker logs --follow tunnelvr-fileserver
}
$@

View File

@ -1,25 +0,0 @@
#!/bin/bash
set -e
up () {
# Exposed on port 8000
docker run \
--detach \
--name tunnelvr \
--restart unless-stopped \
--volume /bigdata/k8s-config/tunnelvr/caddywebserver:/home/caver/.local/share/godot/app_userdata/tunnelvr_v0.7/caddywebserver:ro \
--publish 127.0.0.1:8000:8000 \
ghcr.io/paulwalko/tunnelvr-server:testv8
}
down () {
docker stop tunnelvr || true
docker rm tunnelvr || true
}
logs () {
docker logs --follow tunnelvr
}
$@