Browse Source

Remove unused files

Ubuntu 2 years ago
parent
commit
4097a1d1cc
11 changed files with 6 additions and 64 deletions
  1. 1 3
      README.md
  2. 0 10
      run_docker_registry.sh
  3. 1 1
      run_ghost.sh
  4. 1 1
      run_gogs.sh
  5. 0 13
      run_grafana.sh
  6. 0 13
      run_mtv_sh.sh
  7. 1 1
      run_openvpn.sh
  8. 1 1
      run_thelounge.sh
  9. 1 1
      run_znc.sh
  10. 0 10
      upgrade_docker_registry.sh
  11. 0 10
      upgrade_grafana.sh

+ 1 - 3
README.md

@@ -9,11 +9,9 @@ Internal Port | External Port   | Subdomain | Process
 9001          | 443             | tun       | Public tunnel   
 8080          | 443             | files     | mtv.sh          
 2368          | 443             | blog, www | Ghost           
-8929          | 443             | gitlab    | Gitlab          
+11080         | 443             | git       | Gogs          
 9000          | 443             | irc       | thelounge       
 5001          | 443             | znc       | ZNC Web         
-3000          | 443             | grafana   | Grafana         
 1194          | 1194            | *         | OpenVPN         
-2289          | 2289            | *         | Gitlab SSH      
 2290-2299     | 2290-2299       | *         | SSH Tunnels     
 5000          | 5000            | znc       | ZNC             

+ 0 - 10
run_docker_registry.sh

@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set +x
-
-docker run --detach \
-           --publish ${2:-5050}:5000 \
-           --volume docker-registry-volume:/var/lib/registry \
-           --restart always \
-           --name ${1:-docker-registry} \
-           registry:2

+ 1 - 1
run_ghost.sh

@@ -4,7 +4,7 @@ set +x
 
 docker run --detach \
            --publish ${2:-2368}:2368 \
-           --volume ghost-data-volume:/var/lib/ghost/content \
+           --volume /data/docker-volumes/ghost:/var/lib/ghost/content \
            --restart always \
            --env url=https://blog.matevi.sh \
            --name ${1:-ghost} \

+ 1 - 1
run_gogs.sh

@@ -5,7 +5,7 @@ set +x
 docker run --detach \
            --publish ${2:-11022}:22 \
            --publish ${3:-11080}:3000 \
-           --volume gogs-data-volume:/data \
+           --volume /data/docker-volumes/gogs:/data \
            --restart always \
            --name ${1:-gogs} \
            gogs/gogs

+ 0 - 13
run_grafana.sh

@@ -1,13 +0,0 @@
-#!/bin/bash
-
-set -x
-
-docker run --detach \
-           --publish ${2:-3000}:3000 \
-           --volume grafana-data-volume:/var/lib/grafana \
-           --restart always \
-           --env "GF_SERVER_ROOT_URL=http://grafana.matevi.sh" \
-           --env "GF_SECURITY_ADMIN_PASSWORD=mypassword123" \
-           --name ${1:-grafana} \
-           grafana/grafana
-

+ 0 - 13
run_mtv_sh.sh

@@ -1,13 +0,0 @@
-#!/bin/bash
-
-set -x
-
-docker run --detach \
-           --publish ${2:-8080}:8080 \
-           --volume mtv-sh-volume:/app/files \
-           --volume /etc/mtv-sh.secret:/app/secret \
-           --env TASK=SERVER \
-           --restart always \
-           --name ${1:-mtv-sh} \
-           mtv_sh:latest
-

+ 1 - 1
run_openvpn.sh

@@ -4,7 +4,7 @@ set -x
 
 docker run --detach \
            --publish ${2:-1194}:1194/udp \
-           --volume ovpn-data-volume:/etc/openvpn \
+           --volume /data/docker-volumes/openvpn:/etc/openvpn \
            --restart always \
            --cap-add NET_ADMIN \
            --name ${1:-openvpn} \

+ 1 - 1
run_thelounge.sh

@@ -4,7 +4,7 @@ set -x
 
 docker run --detach \
            --publish ${2:-9000}:9000 \
-           --volume thelounge-data-volume:/var/opt/thelounge \
+           --volume /data/docker-volumes/thelounge:/var/opt/thelounge \
            --restart always \
            --name ${1:-thelounge} \
            thelounge/thelounge:latest

+ 1 - 1
run_znc.sh

@@ -6,7 +6,7 @@ docker run --detach \
            --publish ${2:-5000}:5000 \
            --publish ${3:-5001}:5001 \
            --restart always \
-           --volume znc-data-volume:/znc-data \
+           --volume /data/docker-volumes/znc:/znc-data \
            --volume /etc/znc:/var/lib/znc \
            --name ${1:-znc} \
            znc:latest

+ 0 - 10
upgrade_docker_registry.sh

@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set -e -x
-
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-
-docker pull registry:2 && \
-docker rm -f ${1:-docker-registry} && \
-"$DIR/run_docker_registry.sh" "$@"
-

+ 0 - 10
upgrade_grafana.sh

@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set -e -x
-
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-
-docker pull grafana/grafana && \
-docker rm -f ${1:-grafana} && \
-"$DIR/run_grafana.sh" "$@"
-