diff --git a/fogcutter/docker/mapproxy.sh b/fogcutter/docker/mapproxy.sh new file mode 100755 index 0000000..de730fa --- /dev/null +++ b/fogcutter/docker/mapproxy.sh @@ -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 +} + +$@ diff --git a/fogcutter/docker/nfs.sh b/fogcutter/docker/nfs.sh deleted file mode 100755 index 9378707..0000000 --- a/fogcutter/docker/nfs.sh +++ /dev/null @@ -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 -} - -$@ diff --git a/fogcutter/docker/nginx.sh b/fogcutter/docker/nginx.sh index c633f3c..6d5165c 100755 --- a/fogcutter/docker/nginx.sh +++ b/fogcutter/docker/nginx.sh @@ -17,7 +17,7 @@ up () { --env URL=seaturtle.pw \ --env VALIDATION=http \ --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 \ --volume /bigdata/k8s-config/nginx/nginx.conf:/config/nginx/nginx.conf:ro \ --volume /bigdata/files:/files:ro \ diff --git a/fogcutter/docker/tunnelvr-fileserver.sh b/fogcutter/docker/tunnelvr-fileserver.sh deleted file mode 100755 index 06e0b7f..0000000 --- a/fogcutter/docker/tunnelvr-fileserver.sh +++ /dev/null @@ -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 -# -# -# 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 -# - - -# 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 -} - -$@ diff --git a/fogcutter/docker/tunnelvr.sh b/fogcutter/docker/tunnelvr.sh deleted file mode 100755 index ed35837..0000000 --- a/fogcutter/docker/tunnelvr.sh +++ /dev/null @@ -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 -} - -$@