🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2023-02-23 23:38:31 -05:00
parent b10c2c4167
commit f60b5e55e5
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
63 changed files with 437 additions and 384 deletions

View File

@ -1,7 +0,0 @@
docker run -d --name centos7 \
-ti -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--restart always \
--privileged \
--entrypoint=/usr/sbin/init \
registry.casjay.in/latest/centos:centos7

View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/couchpotato/transmission-daemon/{etc,watch,downloads} && chmod -Rf 777 /var/lib/docker/storage/couchpotato/transmission-daemon
docker run -d --name=transmission-couchpotato \
--restart always \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 \
-p 51413:51413 \
-p 51413:51413/udp --restart=always \
registry.casjay.in/latest/transmission:latest

View File

@ -1,9 +0,0 @@
mkdir -p /var/lib/docker/storage/daapd/etc && chmod -Rf 777 /var/lib/docker/storage/daapd
docker run -d \
--name=daapd \
--hostname daapd \
--net=host \
-v /var/lib/docker/storage/daapd/etc:/config \
-v /mnt/media/Music:/music \
registry.casjay.in/latest/daapd:latest

10
emby.sh
View File

@ -1,10 +0,0 @@
mkdir -p /var/lib/docker/storage/emby/ && chmod -Rf 777 /var/lib/docker/storage/emby
docker run -d \
--restart always \
--name emby \
--volume /var/lib/docker/storage/emby:/config \
--volume /mnt/media:/mnt/media \
--publish 8096:8096 \
--publish 8920:8920 \
registry.casjay.in/latest/embyserver:latest

View File

@ -1,9 +0,0 @@
mkdir -p /var/lib/docker/storage/gitea && chmod -Rf 777 /var/lib/docker/storage/gitea
docker run -d --name gitea \
--privileged \
-v /var/lib/docker/storage/gitea:/data \
-p 127.0.0.1:3000:3000 \
-p 7822:7822 \
--restart=always \
registry.casjay.in/latest/gitea:latest

View File

@ -1,6 +0,0 @@
mkdir -p /var/lib/docker/storage/gitlab/runner/config && chmod -Rf 777 /var/lib/docker/storage/gitlab/runner/config
docker run -d --name gitlab-runner --restart always \
-v /var/lib/docker/storage/gitlab/runner/config:/etc/gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
registry.casjay.in/latest/gitlab-runner:latest

View File

@ -1,15 +0,0 @@
mkdir -p mkdir -p /var/lib/docker/storage/gitlab/{config,logs,data} && chmod -Rf 777 /var/lib/docker/storage/gitlab
docker run -d \
--name gitlab \
--privileged \
--hostname gitlab \
--publish 3443:443 \
--publish 3001:80 \
--publish 7822:22 \
--restart always \
--volume /var/lib/docker/storage/gitlab/config:/etc/gitlab \
--volume /var/lib/docker/storage/gitlab/logs:/var/log/gitlab \
--volume /var/lib/docker/storage/gitlab/data:/var/opt/gitlab \
--volume /etc/letsencrypt:/etc/letsencrypt \
registry.casjay.in/latest/gitlab-ce:latest

View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/headphones/transmission-daemon/{etc,watch,downloads} && chmod -Rf 777 /var/lib/docker/storage/headphones/transmission-daemon
docker run -d --name=transmission-headphones \
--restart always \
-v /var/lib/docker/storage/headphones/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/headphones/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/headphones/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9092:9091 -p 51414:51413 \
-p 51414:51413/udp \
registry.casjay.in/latest/transmission:latest

View File

@ -1,14 +0,0 @@
mkdir -p /var/lib/docker/storage/hass && chmod -Rf 777 /var/lib/docker/storage/hass
docker run -d --name home-assistant \
--restart=always \
--net=host --privileged -itd \
-v /var/lib/docker/storage/hass:/config \
-v /dev/bus/usb:/dev/bus/usb \
-v /var/run/dbus:/var/run/dbus \
-v /dev:/dev \
-e variable=TZ -e value=America/New_York \
--device /dev/ttyACM0 \
--cap-add=SYS_ADMIN \
--cap-add=NET_ADMIN \
registry.casjay.in/latest/home-assistant:latest

View File

@ -1,7 +0,0 @@
docker run \
--detach \
--name ifconfig \
-p 127.0.0.1:85:8080 \
--restart=always \
mpolden/echoip echoip -p -H X-Forwarded-For

View File

@ -1,10 +0,0 @@
mkdir -p /var/lib/docker/storage/jenkins && chmod -Rf 777 /var/lib/docker/storage/jenkins
docker run -d \
--privileged \
--name jenkins \
--restart always \
-v /var/lib/docker/storage/jenkins:/var/jenkins_home \
-p 127.0.0.1:3002:8080 \
-p 50000:50000 \
registry.casjay.in/latest/jenkins:latest

View File

@ -1,8 +0,0 @@
mkdir -p /var/lib/docker/storage/mariadb && chmod -Rf 777 /var/lib/docker/storage/mariadb
docker run -d \
--restart always \
--name mariadb \
-p 3306:3306 \
-v /var/lib/docker/storage/mariadb:/var/lib/mysql \
registry.casjay.in/latest/mariadb:latest

View File

@ -1,8 +0,0 @@
docker run -d \
--name mattermost-webrtc \
--restart=always \
-p 7088:7088 \
-p 7089:7089 \
-p 8188:8188 \
-p 8189:8189 \
mattermost/webrtc:latest

View File

@ -1,11 +0,0 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/mongodb/ && chmod -Rf 777 /var/lib/docker/storage/mongodb
sudo docker run -d \
--name=mongodb \
-p 27017:27017 \
-v /var/lib/docker/storage/mongodb/mongodb:/data/db \
-e TZ=America/New_York \
--restart unless-stopped \
mongo:latest

View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/musicbrainz/{etc,data} && chmod -Rf 777 /var/lib/docker/storage/musicbrainz
docker run -d \
--name=musicbrainz \
--restart always \
-v /var/lib/docker/storage/musicbrainz/etc:/config \
-v /var/lib/docker/storage/musicbrainz/data:/data \
-e BRAINZCODE=SQYwY97CjT54T9WyUa8pRQYOpoUmMa2d3fsLIzKE \
-e TZ=America/New_York \
-v /etc/letsencrypt:/etc/letsencrypt \
-p 5000:5000 \
registry.casjay.in/latest/musicbrainz:latest

View File

@ -1,14 +0,0 @@
#Lets setup the domain
DOM=
mkdir -p /var/lib/docker/storage/nginx/$DOM && chmod -Rf 777 /var/lib/docker/storage/nginx/$DOM
#Only allow local as we will use a proxy
docker run -d \
--restart always \
--name $DOM \
-v /var/lib/docker/storage/nginx/$DOM:/var/www/html \
-p 127.0.0.1:30000:80 \
-p 127.0.0.1:30050:443 \
-e 'WEBROOT=/var/www/html' \
-e 'DOMAIN=$DOM' \
richarvey/nginx-php-fpm

View File

@ -1,8 +0,0 @@
mkdir -p /var/lib/docker/storage/postgres && chmod -Rf 777 /var/lib/docker/storage/postgres
docker run -d \
--name postgres \
--restart=always \
-p 5432:5432 \
-v /var/lib/docker/storage/postgres:/var/lib/postgresql/data \
registry.casjay.in/latest/postgres:latest

12
plex.sh
View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/plex && chmod -Rf 777 /var/lib/docker/storage/plex
docker run \
--restart=always \
--name=plex \
--net=host \
-e VERSION=latest \
-e TZ=America/New_York \
-v /var/lib/docker/storage/plex:/config \
-v /mnt/media:/data \
-v /tmp:/transcode \
registry.casjay.in/latest/plex:latest

View File

@ -1,8 +0,0 @@
mkdir -p /var/lib/docker/storage/portainer && chmod -Rf 777 /var/lib/docker/storage/portainer
docker run -d -p 127.0.0.1:9010:9000 \
--restart always \
--name portainer \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/storage/portainer:/data \
portainer/portainer

View File

@ -1,21 +0,0 @@
mkdir -p /var/lib/docker/storage/prosody/{data,etc,logs,modules/community,modules/custom} && chmod -Rf 777 /var/lib/docker/storage/prosody
docker run -d \
--restart always \
--name prosody \
-p 5222:5222 \
-p 8021:80 \
-p 8022:443 \
-p 5269:5269 \
-p 127.0.0.1:5347:5347 \
-e LOCAL=root \
-e DOMAIN=casjay.in \
-e PASSWORD=xmpppassword \
-v /var/lib/docker/storage/prosody/etc:/etc/prosody \
-v /var/lib/docker/storage/prosody/logs:/var/log/prosody \
-v /var/lib/docker/storage/prosody/data:/var/lib/prosody \
-v /var/lib/docker/storage/prosody/modules/community:/usr/lib/modules-community \
-v /var/lib/docker/storage/prosody/modules/custom:/usr/lib/prosody/modules-custom \
-v /etc/letsencrypt/live/domain/fullchain.pem:/etc/prosody/certs/casjay.in.crt:ro \
-v /etc/letsencrypt/live/domain/privkey.pem:/etc/prosody/certs/casjay.in.key:ro \
unclev/prosody-docker-extended:stable

View File

@ -1,19 +0,0 @@
mkdir -p /var/lib/docker/storage/registry-web && chmod -Rf 777 /var/lib/docker/storage/registry-web
docker run --name registry-web \
-d --restart=always \
-e ENV_DOCKER_REGISTRY_HOST=registry.casjay.in \
-e ENV_DOCKER_REGISTRY_PORT=5000 \
-e ENV_REGISTRY_PROXY_FQDN=registry.casjay.in \
-e ENV_REGISTRY_PROXY_PORT=443 \
-e ENV_DEFAULT_REPOSITORIES_PER_PAGE=50 \
-e ENV_MODE_BROWSE_ONLY=false \
-e ENV_DEFAULT_TAGS_PER_PAGE=20 \
-e ENV_DOCKER_REGISTRY_USE_SSL=1 \
-e ENV_USE_SSL=1 \
-v /var/lib/docker/storage/registry-web:/var/lib/registry \
-v /etc/ssl/CA/CasjaysDev/certs/localhost.crt:/etc/apache2/server.crt:ro \
-v /etc/ssl/CA/CasjaysDev/private/localhost.key:/etc/apache2/server.key:ro \
-p 7080:80 \
-p 7081:443 \
konradkleine/docker-registry-frontend:v2

View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/registry && chmod -Rf 777 /var/lib/docker/storage/registry
docker run -d \
-p 5000:5000 \
--restart=always \
--name registry \
-v /var/lib/docker/storage/registry:/var/lib/registry \
-e SEARCH_BACKEND=sqlalchemy \
-v /etc/ssl/CA/CasjaysDev:/etc/ssl/CA/CasjaysDev \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/etc/ssl/CA/CasjaysDev/certs/localhost.crt \
-e REGISTRY_HTTP_TLS_KEY=/etc/ssl/CA/CasjaysDev/private/localhost.key \
registry

View File

@ -1,9 +0,0 @@
mkdir /var/lib/docker/storage/rocketchat
docker run -d --name rocketchat \
--restart always
-p 127.0.0.1:39520:3000 -v \
/var/lib/docker/storage/rocketchat:/app \
--env ROOT_URL=http://localhost \
--env MONGO_URL=mongodb://mymongourl/mydb \
rocket.chat

View File

@ -1,13 +0,0 @@
mkdir -p /var/lib/docker/storage/rsyslog/elastic && chmod -Rf 777 /var/lib/docker/storage/rsyslog
docker run -d \
--name rsyslog \
--hostname syslogs \
--restart always \
--privileged \
-p 514:514 \
-p 514:514/udp \
-p 5601:5601 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/docker/storage/rsyslog/elastic:/var/lib/elasticsearch \
registry.casjay.in/latest/rsyslog:latest

View File

@ -1,34 +0,0 @@
mkdir -p /var/lib/docker/storage/samba/{config,data}
docker run -t -i \
--restart always \
-e "DOMAIN=CASJAY.NET" \
-e "DOMAINPASS=80@Malak87" \
-e "DNSFORWARDER=1.1.1.1" \
-e "HOSTIP=10.0.0.250" \
-p 10.0.0.250:53:53 \
-p 10.0.0.250:53:53/udp \
-p 10.0.0.250:88:88 \
-p 10.0.0.250:88:88/udp \
-p 10.0.0.250:135:135 \
-p 10.0.0.250:137-138:137-138/udp \
-p 10.0.0.250:139:139 \
-p 10.0.0.250:389:389 \
-p 10.0.0.250:389:389/udp \
-p 10.0.0.250:445:445 \
-p 10.0.0.250:464:464 \
-p 10.0.0.250:464:464/udp \
-p 10.0.0.250:636:636 \
-p 10.0.0.250:1024-1044:1024-1044 \
-p 10.0.0.250:3268-3269:3268-3269 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/docker/storage/samba/data/:/var/lib/samba \
-v /var/lib/docker/storage/samba/config/samba:/etc/samba/external \
--dns-search casjay.net \
--dns 10.0.0.250 \
--dns 1.1.1.1 \
--add-host dc.casjay.net:10.0.0.250 \
-h localdc \
--name samba \
--privileged \
nowsci/samba-domain

7
scripts/centos7.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
docker run -d --name centos7 \
-ti -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--restart always \
--privileged \
--entrypoint=/usr/sbin/init \
registry.casjay.in/latest/centos:centos7

14
scripts/couchpotato.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/couchpotato/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/couchpotato/transmission-daemon
docker run -d --name=transmission-couchpotato \
--restart always \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 \
-p 51413:51413 \
-p 51413:51413/udp --restart=always \
registry.casjay.in/latest/transmission:latest

11
scripts/daapd.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/daapd/etc &&
chmod -Rf 777 /var/lib/docker/storage/daapd
docker run -d \
--name=daapd \
--hostname daapd \
--net=host \
-v /var/lib/docker/storage/daapd/etc:/config \
-v /mnt/media/Music:/music \
registry.casjay.in/latest/daapd:latest

12
scripts/emby.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/emby/ &&
chmod -Rf 777 /var/lib/docker/storage/emby
docker run -d \
--restart always \
--name emby \
--volume /var/lib/docker/storage/emby:/config \
--volume /mnt/media:/mnt/media \
--publish 8096:8096 \
--publish 8920:8920 \
registry.casjay.in/latest/embyserver:latest

11
scripts/gitea.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/gitea &&
chmod -Rf 777 /var/lib/docker/storage/gitea
docker run -d --name gitea \
--privileged \
-v /var/lib/docker/storage/gitea:/data \
-p 127.0.0.1:3000:3000 \
-p 7822:7822 \
--restart=always \
registry.casjay.in/latest/gitea:latest

8
scripts/gitlab-ce-runner.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/gitlab/runner/config &&
chmod -Rf 777 /var/lib/docker/storage/gitlab/runner/config
docker run -d --name gitlab-runner --restart always \
-v /var/lib/docker/storage/gitlab/runner/config:/etc/gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
registry.casjay.in/latest/gitlab-runner:latest

17
scripts/gitlab-ce.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
mkdir -p mkdir -p /var/lib/docker/storage/gitlab/{config,logs,data} &&
chmod -Rf 777 /var/lib/docker/storage/gitlab
docker run -d \
--name gitlab \
--privileged \
--hostname gitlab \
--publish 3443:443 \
--publish 3001:80 \
--publish 7822:22 \
--restart always \
--volume /var/lib/docker/storage/gitlab/config:/etc/gitlab \
--volume /var/lib/docker/storage/gitlab/logs:/var/log/gitlab \
--volume /var/lib/docker/storage/gitlab/data:/var/opt/gitlab \
--volume /etc/letsencrypt:/etc/letsencrypt \
registry.casjay.in/latest/gitlab-ce:latest

13
scripts/headphones.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/headphones/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/headphones/transmission-daemon
docker run -d --name=transmission-headphones \
--restart always \
-v /var/lib/docker/storage/headphones/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/headphones/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/headphones/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9092:9091 -p 51414:51413 \
-p 51414:51413/udp \
registry.casjay.in/latest/transmission:latest

16
scripts/home-assistant.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/hass &&
chmod -Rf 777 /var/lib/docker/storage/hass
docker run -d --name home-assistant \
--restart=always \
--net=host --privileged -itd \
-v /var/lib/docker/storage/hass:/config \
-v /dev/bus/usb:/dev/bus/usb \
-v /var/run/dbus:/var/run/dbus \
-v /dev:/dev \
-e variable=TZ -e value=America/New_York \
--device /dev/ttyACM0 \
--cap-add=SYS_ADMIN \
--cap-add=NET_ADMIN \
registry.casjay.in/latest/home-assistant:latest

8
scripts/ifconfig.co.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
docker run \
--detach \
--name ifconfig \
-p 127.0.0.1:85:8080 \
--restart=always \
mpolden/echoip echoip -p -H X-Forwarded-For

12
scripts/jenkins.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/jenkins &&
chmod -Rf 777 /var/lib/docker/storage/jenkins
docker run -d \
--privileged \
--name jenkins \
--restart always \
-v /var/lib/docker/storage/jenkins:/var/jenkins_home \
-p 127.0.0.1:3002:8080 \
-p 50000:50000 \
registry.casjay.in/latest/jenkins:latest

10
scripts/mariadb.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/mariadb &&
chmod -Rf 777 /var/lib/docker/storage/mariadb
docker run -d \
--restart always \
--name mariadb \
-p 3306:3306 \
-v /var/lib/docker/storage/mariadb:/var/lib/mysql \
registry.casjay.in/latest/mariadb:latest

9
scripts/mattermost-webrtc.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
docker run -d \
--name mattermost-webrtc \
--restart=always \
-p 7088:7088 \
-p 7089:7089 \
-p 8188:8188 \
-p 8189:8189 \
mattermost/webrtc:latest

11
scripts/mongodb.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/mongodb/ &&
chmod -Rf 777 /var/lib/docker/storage/mongodb
sudo docker run -d \
--name=mongodb \
-p 27017:27017 \
-v /var/lib/docker/storage/mongodb/mongodb:/data/db \
-e TZ=America/New_York \
--restart unless-stopped \
mongo:latest

14
scripts/musicbrainz.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/musicbrainz/{etc,data} &&
chmod -Rf 777 /var/lib/docker/storage/musicbrainz
docker run -d \
--name=musicbrainz \
--restart always \
-v /var/lib/docker/storage/musicbrainz/etc:/config \
-v /var/lib/docker/storage/musicbrainz/data:/data \
-e BRAINZCODE=SQYwY97CjT54T9WyUa8pRQYOpoUmMa2d3fsLIzKE \
-e TZ=America/New_York \
-v /etc/letsencrypt:/etc/letsencrypt \
-p 5000:5000 \
registry.casjay.in/latest/musicbrainz:latest

16
scripts/nginx-php.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Lets setup the domain
DOM=${1:-$HOSTNAME}
mkdir -p /var/lib/docker/storage/nginx/$DOM &&
chmod -Rf 777 /var/lib/docker/storage/nginx/$DOM
# Only allow local as we will use a proxy
docker run -d \
--restart always \
--name $DOM \
-v /var/lib/docker/storage/nginx/$DOM:/var/www/html \
-p 127.0.0.1:30000:80 \
-p 127.0.0.1:30050:443 \
-e 'WEBROOT=/var/www/html' \
-e 'DOMAIN=$DOM' \
richarvey/nginx-php-fpm

10
scripts/pgsql.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/postgres &&
chmod -Rf 777 /var/lib/docker/storage/postgres
docker run -d \
--name postgres \
--restart=always \
-p 5432:5432 \
-v /var/lib/docker/storage/postgres:/var/lib/postgresql/data \
registry.casjay.in/latest/postgres:latest

14
scripts/plex.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/plex &&
chmod -Rf 777 /var/lib/docker/storage/plex
docker run \
--restart=always \
--name=plex \
--net=host \
-e VERSION=latest \
-e TZ=America/New_York \
-v /var/lib/docker/storage/plex:/config \
-v /mnt/media:/data \
-v /tmp:/transcode \
registry.casjay.in/latest/plex:latest

10
scripts/portainer.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/portainer &&
chmod -Rf 777 /var/lib/docker/storage/portainer
docker run -d -p 127.0.0.1:9010:9000 \
--restart always \
--name portainer \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/storage/portainer:/data \
portainer/portainer:latest

23
scripts/prosody.sh Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/prosody/{data,etc,logs,modules/community,modules/custom} &&
chmod -Rf 777 /var/lib/docker/storage/prosody
docker run -d \
--restart always \
--name prosody \
-p 5222:5222 \
-p 8021:80 \
-p 8022:443 \
-p 5269:5269 \
-p 127.0.0.1:5347:5347 \
-e LOCAL=root \
-e DOMAIN=casjay.in \
-e PASSWORD=xmpppassword \
-v /var/lib/docker/storage/prosody/etc:/etc/prosody \
-v /var/lib/docker/storage/prosody/logs:/var/log/prosody \
-v /var/lib/docker/storage/prosody/data:/var/lib/prosody \
-v /var/lib/docker/storage/prosody/modules/community:/usr/lib/modules-community \
-v /var/lib/docker/storage/prosody/modules/custom:/usr/lib/prosody/modules-custom \
-v /etc/letsencrypt/live/domain/fullchain.pem:/etc/prosody/certs/casjay.in.crt:ro \
-v /etc/letsencrypt/live/domain/privkey.pem:/etc/prosody/certs/casjay.in.key:ro \
unclev/prosody-docker-extended:stable

21
scripts/registry-web.sh Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/registry-web &&
chmod -Rf 777 /var/lib/docker/storage/registry-web
docker run --name registry-web \
-d --restart=always \
-e ENV_DOCKER_REGISTRY_HOST=registry.casjay.in \
-e ENV_DOCKER_REGISTRY_PORT=5000 \
-e ENV_REGISTRY_PROXY_FQDN=registry.casjay.in \
-e ENV_REGISTRY_PROXY_PORT=443 \
-e ENV_DEFAULT_REPOSITORIES_PER_PAGE=50 \
-e ENV_MODE_BROWSE_ONLY=false \
-e ENV_DEFAULT_TAGS_PER_PAGE=20 \
-e ENV_DOCKER_REGISTRY_USE_SSL=1 \
-e ENV_USE_SSL=1 \
-v /var/lib/docker/storage/registry-web:/var/lib/registry \
-v /etc/ssl/CA/CasjaysDev/certs/localhost.crt:/etc/apache2/server.crt:ro \
-v /etc/ssl/CA/CasjaysDev/private/localhost.key:/etc/apache2/server.key:ro \
-p 7080:80 \
-p 7081:443 \
konradkleine/docker-registry-frontend:v2

14
scripts/registry.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/registry &&
chmod -Rf 777 /var/lib/docker/storage/registry
docker run -d \
-p 5000:5000 \
--restart=always \
--name registry \
-v /var/lib/docker/storage/registry:/var/lib/registry \
-e SEARCH_BACKEND=sqlalchemy \
-v /etc/ssl/CA/CasjaysDev:/etc/ssl/CA/CasjaysDev \
-e REGISTRY_HTTP_TLS_CERTIFICATE=/etc/ssl/CA/CasjaysDev/certs/localhost.crt \
-e REGISTRY_HTTP_TLS_KEY=/etc/ssl/CA/CasjaysDev/private/localhost.key \
registry

11
scripts/rocketchat.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
mkdir /var/lib/docker/storage/rocketchat &&
chmod -Rf 777 /var/lib/docker/storage/rocketchat
docker run -d --name rocketchat \
--restart always
-p 127.0.0.1:39520:3000 -v \
/var/lib/docker/storage/rocketchat:/app \
--env ROOT_URL=http://localhost \
--env MONGO_URL=mongodb://mymongourl/mydb \
rocket.chat

15
scripts/rsyslog.sh Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/rsyslog/elastic &&
chmod -Rf 777 /var/lib/docker/storage/rsyslog
docker run -d \
--name rsyslog \
--hostname syslogs \
--restart always \
--privileged \
-p 514:514 \
-p 514:514/udp \
-p 5601:5601 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/docker/storage/rsyslog/elastic:/var/lib/elasticsearch \
registry.casjay.in/latest/rsyslog:latest

36
scripts/samba-dc.sh Executable file
View File

@ -0,0 +1,36 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/samba/{config,data} &&
chmod -Rf 777 /var/lib/docker/storage/samba
docker run -t -i \
--restart always \
-e "DOMAIN=CASJAY.NET" \
-e "DOMAINPASS=80@Malak87" \
-e "DNSFORWARDER=1.1.1.1" \
-e "HOSTIP=10.0.0.250" \
-p 10.0.0.250:53:53 \
-p 10.0.0.250:53:53/udp \
-p 10.0.0.250:88:88 \
-p 10.0.0.250:88:88/udp \
-p 10.0.0.250:135:135 \
-p 10.0.0.250:137-138:137-138/udp \
-p 10.0.0.250:139:139 \
-p 10.0.0.250:389:389 \
-p 10.0.0.250:389:389/udp \
-p 10.0.0.250:445:445 \
-p 10.0.0.250:464:464 \
-p 10.0.0.250:464:464/udp \
-p 10.0.0.250:636:636 \
-p 10.0.0.250:1024-1044:1024-1044 \
-p 10.0.0.250:3268-3269:3268-3269 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/docker/storage/samba/data/:/var/lib/samba \
-v /var/lib/docker/storage/samba/config/samba:/etc/samba/external \
--dns-search casjay.net \
--dns 10.0.0.250 \
--dns 1.1.1.1 \
--add-host dc.casjay.net:10.0.0.250 \
-h localdc \
--name samba \
--privileged \
nowsci/samba-domain

13
scripts/sickrage.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/sickrage/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/sickrage/transmission-daemon
docker run -d --name=transmission-sickrage \
--restart=always \
-v /var/lib/docker/storage/sickrage/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/sickrage/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/sickrage/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9093:9091 -p 51415:51413 \
-p 51415:51413/udp \
registry.casjay.in/latest/transmission:latest

15
scripts/subsonic.sh Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/airsonic/{music,podcasts,playlists,data} &&
chmod -Rf 777 /var/lib/docker/storage/airsonic
docker run -d \
--name=airsonic \
--hostname airsonic \
--restart=always \
--privileged \
-p 4040:4040 \
-v /var/lib/docker/storage/airsonic/music:/airsonic/music:z \
-v /var/lib/docker/storage/airsonic/podcasts:/airsonic/podcasts:z \
-v /var/lib/docker/storage/airsonic/playlists:/airsonic/playlists:z \
-v /var/lib/docker/storage/airsonic/data:/airsonic/data:z \
airsonic/airsonic:latest

13
scripts/transmission.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/transmission-daemon
docker run -d --name=transmission \
--restart=always \
-v /var/lib/docker/storage/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 -p 51415:51413 \
-p 51413:51413/udp \
registry.casjay.in/latest/transmission:latest

10
scripts/unrealircd.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
docker run -d \
--restart always \
--name ircd \
-p 6697:6697 \
-p 7000:7000 \
-v /etc/letsencrypt/live/domain/fullchain.pem:/home/unreal/unrealircd/conf/ssl/server.cert.pem:ro \
-v /etc/letsencrypt/live/domain/privkey.pem:/home/unreal/unrealircd/conf/ssl/server.key.pem:ro \
joelnb/unrealircd:latest

13
scripts/vscoder.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/vscoder &&
chmod -Rf 777 /var/lib/docker/storage/vscoder
docker run -d --name vscoder \
-it --privileged \
--network host \
-p 29000:29000 \
-p 5500:5500 \
-p 8090:8090 \
-v "/var/lib/docker/storage/vscoder:/home/coder" \
-v "/var/lib/docker/storage/vscoder/project:/home/coder/project" \
codercom/code-server --allow-http --no-auth -p 29000

29
scripts/zabbix.sh Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/zabbix/{mysql,config,postfix} &&
chmod -Rf 777 /var/lib/docker/storage/zabbix
# docker run -d \
# --name zabbix \
# --hostname zabbix \
# --restart always \
# --privileged \
# -p 40080:80 \
# -p 40081:443 \
# -p 10051:10051 \
# --volume /var/lib/docker/storage/zabbix/mysql:/var/lib/mysql \
# --volume /var/lib/docker/storage/zabbix/config:/etc/zabbix \
# --volume /var/lib/docker/storage/zabbix/postfix:/etc/postfix \
# registry.casjay.in/latest/zabbix:4
echo '
docker exec -it -u root zabbix /bin/bash
edit /etc/postfix/main.cf
as it just relays mail through your main server
sql root user has no password
sql username is zabbix
sql database password is password
zabbix web default user name is Admin, password zabbix
"https://www.zabbix.com/download?zabbix=4.0&os_distribution=raspbian&os_version=stretch&db=MySQL"
'

View File

@ -1,12 +0,0 @@
mkdir -p /var/lib/docker/storage/sickrage/transmission-daemon/{etc,watch,downloads} && chmod -Rf 777 /var/lib/docker/storage/sickrage/transmission-daemon
docker run -d --name=transmission-sickrage \
--restart=always \
-v /var/lib/docker/storage/sickrage/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/sickrage/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/sickrage/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9093:9091 -p 51415:51413 \
-p 51415:51413/udp \
registry.casjay.in/latest/transmission:latest

View File

@ -1,13 +0,0 @@
mkdir -p /var/lib/docker/storage/airsonic/{music,podcasts,playlists,data} && chmod -Rf 777 /var/lib/docker/storage/airsonic
docker run -d \
--name=airsonic \
--hostname airsonic \
--restart=always \
--privileged \
-p 4040:4040 \
-v /var/lib/docker/storage/airsonic/music:/airsonic/music:z \
-v /var/lib/docker/storage/airsonic/podcasts:/airsonic/podcasts:z \
-v /var/lib/docker/storage/airsonic/playlists:/airsonic/playlists:z \
-v /var/lib/docker/storage/airsonic/data:/airsonic/data:z \
airsonic/airsonic:latest

View File

@ -1,11 +0,0 @@
mkdir -p /var/lib/docker/storage/transmission-daemon/{etc,watch,downloads} && chmod -Rf 777 /var/lib/docker/storage/transmission-daemon
docker run -d --name=transmission \
--restart=always \
-v /var/lib/docker/storage/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 -p 51415:51413 \
-p 51413:51413/udp \
registry.casjay.in/latest/transmission:latest

View File

@ -1,10 +0,0 @@
docker run -d \
--restart always \
--name ircd \
-p 6697:6697 \
-p 7000:7000 \
-v /etc/letsencrypt/live/domain/fullchain.pem:/home/unreal/unrealircd/conf/ssl/server.cert.pem:ro \
-v /etc/letsencrypt/live/domain/privkey.pem:/home/unreal/unrealircd/conf/ssl/server.key.pem:ro \
joelnb/unrealircd:latest

View File

@ -1 +1 @@
202210181539-git 202302232338-git

View File

@ -1,11 +0,0 @@
mkdir -p /var/lib/docker/storage/vscoder && chmod -Rf 777 /var/lib/docker/storage/vscoder
docker run -d --name vscoder \
-it --privileged \
--network host \
-p 29000:29000 \
-p 5500:5500 \
-p 8090:8090 \
-v "/var/lib/docker/storage/vscoder:/home/coder" \
-v "/var/lib/docker/storage/vscoder/project:/home/coder/project" \
codercom/code-server --allow-http --no-auth -p 29000

View File

@ -1,26 +0,0 @@
mkdir -p /var/lib/docker/storage/zabbix/{mysql,config,postfix} && chmod -Rf 777 /var/lib/docker/storage/zabbix
docker run -d \
--name zabbix \
--hostname zabbix \
--restart always \
--privileged \
-p 40080:80 \
-p 40081:443
-p 10051:10051 \
--volume /var/lib/docker/storage/zabbix/mysql:/var/lib/mysql \
--volume /var/lib/docker/storage/zabbix/config:/etc/zabbix \
--volume /var/lib/docker/storage/zabbix/postfix:/etc/postfix \
registry.casjay.in/latest/zabbix:4
docker exec -it -u root zabbix /bin/bash
edit /etc/postfix/main.cf
as it just relays mail through your main server
sql root user has no password
sql username is zabbix
sql database password is password
zabbix web default user name is Admin, password zabbix
https://www.zabbix.com/download?zabbix=4.0&os_distribution=raspbian&os_version=stretch&db=MySQL