mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Merge branch 'main' into debian-upgrade-12-13
This commit is contained in:
commit
5b25b57b1a
13 files changed
+1
-849
No files matched your search
@@ -1,230 +0,0 @@
|
|||||||
name: greenbone-community-edition
|
|
||||||
|
|
||||||
services:
|
|
||||||
vulnerability-tests:
|
|
||||||
image: registry.community.greenbone.net/community/vulnerability-tests
|
|
||||||
environment:
|
|
||||||
FEED_RELEASE: "24.10"
|
|
||||||
volumes:
|
|
||||||
- vt_data_vol:/mnt
|
|
||||||
|
|
||||||
notus-data:
|
|
||||||
image: registry.community.greenbone.net/community/notus-data
|
|
||||||
volumes:
|
|
||||||
- notus_data_vol:/mnt
|
|
||||||
|
|
||||||
scap-data:
|
|
||||||
image: registry.community.greenbone.net/community/scap-data
|
|
||||||
volumes:
|
|
||||||
- scap_data_vol:/mnt
|
|
||||||
|
|
||||||
cert-bund-data:
|
|
||||||
image: registry.community.greenbone.net/community/cert-bund-data
|
|
||||||
volumes:
|
|
||||||
- cert_data_vol:/mnt
|
|
||||||
|
|
||||||
dfn-cert-data:
|
|
||||||
image: registry.community.greenbone.net/community/dfn-cert-data
|
|
||||||
volumes:
|
|
||||||
- cert_data_vol:/mnt
|
|
||||||
depends_on:
|
|
||||||
- cert-bund-data
|
|
||||||
|
|
||||||
data-objects:
|
|
||||||
image: registry.community.greenbone.net/community/data-objects
|
|
||||||
environment:
|
|
||||||
FEED_RELEASE: "24.10"
|
|
||||||
volumes:
|
|
||||||
- data_objects_vol:/mnt
|
|
||||||
|
|
||||||
report-formats:
|
|
||||||
image: registry.community.greenbone.net/community/report-formats
|
|
||||||
environment:
|
|
||||||
FEED_RELEASE: "24.10"
|
|
||||||
volumes:
|
|
||||||
- data_objects_vol:/mnt
|
|
||||||
depends_on:
|
|
||||||
- data-objects
|
|
||||||
|
|
||||||
gpg-data:
|
|
||||||
image: registry.community.greenbone.net/community/gpg-data
|
|
||||||
volumes:
|
|
||||||
- gpg_data_vol:/mnt
|
|
||||||
|
|
||||||
redis-server:
|
|
||||||
image: registry.community.greenbone.net/community/redis-server
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- redis_socket_vol:/run/redis/
|
|
||||||
|
|
||||||
pg-gvm:
|
|
||||||
image: registry.community.greenbone.net/community/pg-gvm:stable
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- psql_data_vol:/var/lib/postgresql
|
|
||||||
- psql_socket_vol:/var/run/postgresql
|
|
||||||
|
|
||||||
gvmd:
|
|
||||||
image: registry.community.greenbone.net/community/gvmd:stable
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- gvmd_data_vol:/var/lib/gvm
|
|
||||||
- scap_data_vol:/var/lib/gvm/scap-data/
|
|
||||||
- cert_data_vol:/var/lib/gvm/cert-data
|
|
||||||
- data_objects_vol:/var/lib/gvm/data-objects/gvmd
|
|
||||||
- vt_data_vol:/var/lib/openvas/plugins
|
|
||||||
- psql_data_vol:/var/lib/postgresql
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
- psql_socket_vol:/var/run/postgresql
|
|
||||||
depends_on:
|
|
||||||
pg-gvm:
|
|
||||||
condition: service_started
|
|
||||||
scap-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
cert-bund-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
dfn-cert-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
data-objects:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
report-formats:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
|
|
||||||
gsa:
|
|
||||||
image: registry.community.greenbone.net/community/gsa:stable
|
|
||||||
restart: on-failure
|
|
||||||
ports:
|
|
||||||
- 127.0.0.1:9392:80
|
|
||||||
volumes:
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
depends_on:
|
|
||||||
- gvmd
|
|
||||||
# Sets log level of openvas to the set LOG_LEVEL within the env
|
|
||||||
# and changes log output to /var/log/openvas instead /var/log/gvm
|
|
||||||
# to reduce likelyhood of unwanted log interferences
|
|
||||||
configure-openvas:
|
|
||||||
image: registry.community.greenbone.net/community/openvas-scanner:stable
|
|
||||||
volumes:
|
|
||||||
- openvas_data_vol:/mnt
|
|
||||||
- openvas_log_data_vol:/var/log/openvas
|
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
printf "table_driven_lsc = yes\nopenvasd_server = http://openvasd:80\n" > /mnt/openvas.conf
|
|
||||||
sed "s/127/128/" /etc/openvas/openvas_log.conf | sed 's/gvm/openvas/' > /mnt/openvas_log.conf
|
|
||||||
chmod 644 /mnt/openvas.conf
|
|
||||||
chmod 644 /mnt/openvas_log.conf
|
|
||||||
touch /var/log/openvas/openvas.log
|
|
||||||
chmod 666 /var/log/openvas/openvas.log
|
|
||||||
|
|
||||||
# shows logs of openvas
|
|
||||||
openvas:
|
|
||||||
image: registry.community.greenbone.net/community/openvas-scanner:stable
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- openvas_data_vol:/etc/openvas
|
|
||||||
- openvas_log_data_vol:/var/log/openvas
|
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
cat /etc/openvas/openvas.conf
|
|
||||||
tail -f /var/log/openvas/openvas.log
|
|
||||||
depends_on:
|
|
||||||
configure-openvas:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
|
|
||||||
openvasd:
|
|
||||||
image: registry.community.greenbone.net/community/openvas-scanner:stable
|
|
||||||
restart: on-failure
|
|
||||||
environment:
|
|
||||||
# `service_notus` is set to disable everything but notus,
|
|
||||||
# if you want to utilize openvasd directly, remove `OPENVASD_MODE`
|
|
||||||
OPENVASD_MODE: service_notus
|
|
||||||
GNUPGHOME: /etc/openvas/gnupg
|
|
||||||
LISTENING: 0.0.0.0:80
|
|
||||||
volumes:
|
|
||||||
- openvas_data_vol:/etc/openvas
|
|
||||||
- openvas_log_data_vol:/var/log/openvas
|
|
||||||
- gpg_data_vol:/etc/openvas/gnupg
|
|
||||||
- notus_data_vol:/var/lib/notus
|
|
||||||
# enable port forwarding when you want to use the http api from your host machine
|
|
||||||
# ports:
|
|
||||||
# - 127.0.0.1:3000:80
|
|
||||||
depends_on:
|
|
||||||
vulnerability-tests:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
configure-openvas:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
gpg-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
aliases:
|
|
||||||
- openvasd
|
|
||||||
|
|
||||||
ospd-openvas:
|
|
||||||
image: registry.community.greenbone.net/community/ospd-openvas:stable
|
|
||||||
restart: on-failure
|
|
||||||
hostname: ospd-openvas.local
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN # for capturing packages in promiscuous mode
|
|
||||||
- NET_RAW # for raw sockets e.g. used for the boreas alive detection
|
|
||||||
security_opt:
|
|
||||||
- seccomp=unconfined
|
|
||||||
- apparmor=unconfined
|
|
||||||
command:
|
|
||||||
[
|
|
||||||
"ospd-openvas",
|
|
||||||
"-f",
|
|
||||||
"--config",
|
|
||||||
"/etc/gvm/ospd-openvas.conf",
|
|
||||||
"--notus-feed-dir",
|
|
||||||
"/var/lib/notus/advisories",
|
|
||||||
"-m",
|
|
||||||
"666",
|
|
||||||
]
|
|
||||||
volumes:
|
|
||||||
- gpg_data_vol:/etc/openvas/gnupg
|
|
||||||
- vt_data_vol:/var/lib/openvas/plugins
|
|
||||||
- notus_data_vol:/var/lib/notus
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
- redis_socket_vol:/run/redis/
|
|
||||||
- openvas_data_vol:/etc/openvas/
|
|
||||||
- openvas_log_data_vol:/var/log/openvas
|
|
||||||
depends_on:
|
|
||||||
redis-server:
|
|
||||||
condition: service_started
|
|
||||||
gpg-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
vulnerability-tests:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
configure-openvas:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
|
|
||||||
gvm-tools:
|
|
||||||
image: registry.community.greenbone.net/community/gvm-tools
|
|
||||||
volumes:
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
depends_on:
|
|
||||||
- gvmd
|
|
||||||
- ospd-openvas
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
gpg_data_vol:
|
|
||||||
scap_data_vol:
|
|
||||||
cert_data_vol:
|
|
||||||
data_objects_vol:
|
|
||||||
gvmd_data_vol:
|
|
||||||
psql_data_vol:
|
|
||||||
vt_data_vol:
|
|
||||||
notus_data_vol:
|
|
||||||
psql_socket_vol:
|
|
||||||
gvmd_socket_vol:
|
|
||||||
ospd_openvas_socket_vol:
|
|
||||||
redis_socket_vol:
|
|
||||||
openvas_data_vol:
|
|
||||||
openvas_log_data_vol:
|
|
||||||
@@ -1,179 +0,0 @@
|
|||||||
services:
|
|
||||||
vulnerability-tests:
|
|
||||||
image: greenbone/vulnerability-tests
|
|
||||||
environment:
|
|
||||||
STORAGE_PATH: /var/lib/openvas/22.04/vt-data/nasl
|
|
||||||
volumes:
|
|
||||||
- vt_data_vol:/mnt
|
|
||||||
|
|
||||||
notus-data:
|
|
||||||
image: greenbone/notus-data
|
|
||||||
volumes:
|
|
||||||
- notus_data_vol:/mnt
|
|
||||||
|
|
||||||
scap-data:
|
|
||||||
image: greenbone/scap-data
|
|
||||||
volumes:
|
|
||||||
- scap_data_vol:/mnt
|
|
||||||
|
|
||||||
cert-bund-data:
|
|
||||||
image: greenbone/cert-bund-data
|
|
||||||
volumes:
|
|
||||||
- cert_data_vol:/mnt
|
|
||||||
|
|
||||||
dfn-cert-data:
|
|
||||||
image: greenbone/dfn-cert-data
|
|
||||||
volumes:
|
|
||||||
- cert_data_vol:/mnt
|
|
||||||
depends_on:
|
|
||||||
- cert-bund-data
|
|
||||||
|
|
||||||
data-objects:
|
|
||||||
image: greenbone/data-objects
|
|
||||||
volumes:
|
|
||||||
- data_objects_vol:/mnt
|
|
||||||
|
|
||||||
report-formats:
|
|
||||||
image: greenbone/report-formats
|
|
||||||
volumes:
|
|
||||||
- data_objects_vol:/mnt
|
|
||||||
depends_on:
|
|
||||||
- data-objects
|
|
||||||
|
|
||||||
gpg-data:
|
|
||||||
image: greenbone/gpg-data
|
|
||||||
volumes:
|
|
||||||
- gpg_data_vol:/mnt
|
|
||||||
|
|
||||||
redis-server:
|
|
||||||
image: greenbone/redis-server
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- redis_socket_vol:/run/redis/
|
|
||||||
|
|
||||||
pg-gvm:
|
|
||||||
image: greenbone/pg-gvm:stable
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- psql_data_vol:/var/lib/postgresql
|
|
||||||
- psql_socket_vol:/var/run/postgresql
|
|
||||||
|
|
||||||
gvmd:
|
|
||||||
image: greenbone/gvmd:stable
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- gvmd_data_vol:/var/lib/gvm
|
|
||||||
- scap_data_vol:/var/lib/gvm/scap-data/
|
|
||||||
- cert_data_vol:/var/lib/gvm/cert-data
|
|
||||||
- data_objects_vol:/var/lib/gvm/data-objects/gvmd
|
|
||||||
- vt_data_vol:/var/lib/openvas/plugins
|
|
||||||
- psql_data_vol:/var/lib/postgresql
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
- psql_socket_vol:/var/run/postgresql
|
|
||||||
depends_on:
|
|
||||||
pg-gvm:
|
|
||||||
condition: service_started
|
|
||||||
scap-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
cert-bund-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
dfn-cert-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
data-objects:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
report-formats:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
|
|
||||||
gsa:
|
|
||||||
image: greenbone/gsa:stable
|
|
||||||
restart: on-failure
|
|
||||||
ports:
|
|
||||||
- 127.0.0.1:9392:80
|
|
||||||
volumes:
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
depends_on:
|
|
||||||
- gvmd
|
|
||||||
|
|
||||||
ospd-openvas:
|
|
||||||
image: greenbone/ospd-openvas:stable
|
|
||||||
restart: on-failure
|
|
||||||
hostname: ospd-openvas.local
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN # for capturing packages in promiscuous mode
|
|
||||||
- NET_RAW # for raw sockets e.g. used for the boreas alive detection
|
|
||||||
security_opt:
|
|
||||||
- seccomp=unconfined
|
|
||||||
- apparmor=unconfined
|
|
||||||
command:
|
|
||||||
[
|
|
||||||
"ospd-openvas",
|
|
||||||
"-f",
|
|
||||||
"--config",
|
|
||||||
"/etc/gvm/ospd-openvas.conf",
|
|
||||||
"--mqtt-broker-address",
|
|
||||||
"mqtt-broker",
|
|
||||||
"--notus-feed-dir",
|
|
||||||
"/var/lib/notus/advisories",
|
|
||||||
"-m",
|
|
||||||
"666"
|
|
||||||
]
|
|
||||||
volumes:
|
|
||||||
- gpg_data_vol:/etc/openvas/gnupg
|
|
||||||
- vt_data_vol:/var/lib/openvas/plugins
|
|
||||||
- notus_data_vol:/var/lib/notus
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
- redis_socket_vol:/run/redis/
|
|
||||||
depends_on:
|
|
||||||
redis-server:
|
|
||||||
condition: service_started
|
|
||||||
gpg-data:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
vulnerability-tests:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
|
|
||||||
mqtt-broker:
|
|
||||||
restart: on-failure
|
|
||||||
image: greenbone/mqtt-broker
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
aliases:
|
|
||||||
- mqtt-broker
|
|
||||||
- broker
|
|
||||||
|
|
||||||
notus-scanner:
|
|
||||||
restart: on-failure
|
|
||||||
image: greenbone/notus-scanner:stable
|
|
||||||
volumes:
|
|
||||||
- notus_data_vol:/var/lib/notus
|
|
||||||
- gpg_data_vol:/etc/openvas/gnupg
|
|
||||||
environment:
|
|
||||||
NOTUS_SCANNER_MQTT_BROKER_ADDRESS: mqtt-broker
|
|
||||||
NOTUS_SCANNER_PRODUCTS_DIRECTORY: /var/lib/notus/products
|
|
||||||
depends_on:
|
|
||||||
- mqtt-broker
|
|
||||||
- gpg-data
|
|
||||||
- vulnerability-tests
|
|
||||||
|
|
||||||
gvm-tools:
|
|
||||||
image: greenbone/gvm-tools
|
|
||||||
volumes:
|
|
||||||
- gvmd_socket_vol:/run/gvmd
|
|
||||||
- ospd_openvas_socket_vol:/run/ospd
|
|
||||||
depends_on:
|
|
||||||
- gvmd
|
|
||||||
- ospd-openvas
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
gpg_data_vol:
|
|
||||||
scap_data_vol:
|
|
||||||
cert_data_vol:
|
|
||||||
data_objects_vol:
|
|
||||||
gvmd_data_vol:
|
|
||||||
psql_data_vol:
|
|
||||||
vt_data_vol:
|
|
||||||
notus_data_vol:
|
|
||||||
psql_socket_vol:
|
|
||||||
gvmd_socket_vol:
|
|
||||||
ospd_openvas_socket_vol:
|
|
||||||
redis_socket_vol:
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#remove previous conflicting packages
|
|
||||||
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt remove $pkg; done
|
|
||||||
|
|
||||||
#updates, setup souces and install.
|
|
||||||
sudo install -m 0755 -d /etc/apt/keyrings
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
||||||
sudo chmod a+r /etc/apt/keyrings/docker.gpg
|
|
||||||
echo \
|
|
||||||
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
|
||||||
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
|
||||||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
||||||
sudo apt update
|
|
||||||
|
|
||||||
#install docker
|
|
||||||
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y
|
|
||||||
|
|
||||||
#Adduser to docker
|
|
||||||
sudo usermod -aG docker $USER && su $USER
|
|
||||||
|
|
||||||
# create download dir:
|
|
||||||
export DOWNLOAD_DIR=$HOME/greenbone-community-container && mkdir -p $DOWNLOAD_DIR
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
curl -f -O https://greenbone.github.io/docs/latest/_static/setup-and-start-greenbone-community-edition.sh && chmod u+x setup-and-start-greenbone-community-edition.sh
|
|
||||||
@@ -1,213 +0,0 @@
|
|||||||
services:
|
|
||||||
gluetun:
|
|
||||||
image: qmcgaw/gluetun
|
|
||||||
container_name: gluetun
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
devices:
|
|
||||||
- /dev/net/tun:/dev/net/tun
|
|
||||||
ports:
|
|
||||||
- 8888:8888/tcp # HTTP proxy
|
|
||||||
- 8388:8388/tcp # Shadowsocks
|
|
||||||
- 8388:8388/udp # Shadowsocks
|
|
||||||
- 7878:7878 # Radarr
|
|
||||||
- 9117:9117 # Jackett
|
|
||||||
- 5055:5055 # Jellyseerr
|
|
||||||
- 6767:6767 # Bazarr
|
|
||||||
- 8080:8080 # Qbittorrent
|
|
||||||
- 6881:6881 # Qbittorrent
|
|
||||||
- 6881:6881/udp # Qbittorrent
|
|
||||||
- 8989:8989 # Sonarr
|
|
||||||
- 6767:6767 # bazarr
|
|
||||||
- 8089:9091 # Transmission
|
|
||||||
- 7474:7474 # Autobrr
|
|
||||||
- 3000:3000 # jellystat
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/gluetun:/gluetun
|
|
||||||
environment:
|
|
||||||
- VPN_SERVICE_PROVIDER=${VPN_PROVIDER}
|
|
||||||
- VPN_TYPE=openvpn
|
|
||||||
- OPENVPN_USER=${MULLVAD_KEY}
|
|
||||||
- OPENVPN_PASSWORD=m
|
|
||||||
- TZ=${TZ}
|
|
||||||
|
|
||||||
radarr:
|
|
||||||
image: lscr.io/linuxserver/radarr:latest
|
|
||||||
container_name: radarr
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/radarr/data:/config
|
|
||||||
- ${MEDIA_SHARE}/Movies:/movies
|
|
||||||
- ${MEDIA_SHARE}/torrantdownloads/completed:/downloads
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
jackett:
|
|
||||||
image: lscr.io/linuxserver/jackett:latest
|
|
||||||
container_name: jackett
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
- AUTO_UPDATE=true
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/jackett/data:/config
|
|
||||||
- ${MEDIA_SHARE}/blackhole:/downloads
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
jellyseerr:
|
|
||||||
image: ghcr.io/fallenbagel/jellyseerr:latest
|
|
||||||
container_name: jellyseerr
|
|
||||||
environment:
|
|
||||||
- LOG_LEVEL=debug
|
|
||||||
- TZ=${TZ}
|
|
||||||
- PORT=5055
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/jellyserr/config:/app/config
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
bazarr:
|
|
||||||
image: lscr.io/linuxserver/bazarr:latest
|
|
||||||
container_name: bazarr
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/bazarr/config:/config
|
|
||||||
- ${MEDIA_SHARE}/Movies:/movies
|
|
||||||
- ${MEDIA_SHARE}/tv:/tv
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
qbittorrent:
|
|
||||||
image: lscr.io/linuxserver/qbittorrent:latest
|
|
||||||
container_name: qbittorrent
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
- WEBUI_PORT=8080
|
|
||||||
- TORRENTING_PORT=6881
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/qbittorrent/appdata:/config
|
|
||||||
- ${MEDIA_SHARE}/torrantdownloads/qbittorrant:/downloads
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
sonarr:
|
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
|
||||||
container_name: sonarr
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/sonarr/data:/config
|
|
||||||
- ${MEDIA_SHARE}/tv:/tv
|
|
||||||
- ${MEDIA_SHARE}/torrantdownloads/completed:/downloads
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
transmission:
|
|
||||||
image: lscr.io/linuxserver/transmission:latest
|
|
||||||
container_name: transmission
|
|
||||||
environment:
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
- TZ=${TZ}
|
|
||||||
- USER=${TRANSMISSION_USERNAME}
|
|
||||||
- PASS=${TRANSMISSION_PASSWORD}
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/transmission/config:/config
|
|
||||||
- ${MEDIA_SHARE}/torrantdownloads:/downloads
|
|
||||||
- ${MEDIA_SHARE}/watch:/watch
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
autobrr:
|
|
||||||
container_name: autobrr
|
|
||||||
image: ghcr.io/autobrr/autobrr:latest
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- TZ=${TZ}
|
|
||||||
- PUID=${PUID}
|
|
||||||
- PGID=${PGID}
|
|
||||||
user: 1000:1000
|
|
||||||
volumes:
|
|
||||||
- ${BASE_PATH}/autobrr/config:/config
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
|
|
||||||
decluttarr:
|
|
||||||
container_name: decluttarr
|
|
||||||
image: ghcr.io/manimatter/decluttarr:latest
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
TZ: ${TZ}
|
|
||||||
PUID: ${PUID}
|
|
||||||
PGID: ${PGID}
|
|
||||||
# General
|
|
||||||
LOG_LEVEL: INFO
|
|
||||||
# Features
|
|
||||||
REMOVE_TIMER: 10
|
|
||||||
REMOVE_FAILED: "true"
|
|
||||||
REMOVE_FAILED_IMPORTS: "true"
|
|
||||||
REMOVE_METADATA_MISSING: "true"
|
|
||||||
REMOVE_MISSING_FILES: "true"
|
|
||||||
REMOVE_ORPHANS: "true"
|
|
||||||
REMOVE_SLOW: "true"
|
|
||||||
REMOVE_STALLED: "true"
|
|
||||||
REMOVE_UNMONITORED: "true"
|
|
||||||
RUN_PERIODIC_RESCANS: |
|
|
||||||
{
|
|
||||||
"SONARR": {
|
|
||||||
"MISSING": true,
|
|
||||||
"CUTOFF_UNMET": true,
|
|
||||||
"MAX_CONCURRENT_SCANS": 3,
|
|
||||||
"MIN_DAYS_BEFORE_RESCAN": 7
|
|
||||||
},
|
|
||||||
"RADARR": {
|
|
||||||
"MISSING": true,
|
|
||||||
"CUTOFF_UNMET": true,
|
|
||||||
"MAX_CONCURRENT_SCANS": 3,
|
|
||||||
"MIN_DAYS_BEFORE_RESCAN": 7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Feature Settings
|
|
||||||
PERMITTED_ATTEMPTS: 3
|
|
||||||
NO_STALLED_REMOVAL_QBIT_TAG: "Don't Kill"
|
|
||||||
MIN_DOWNLOAD_SPEED: 100
|
|
||||||
FAILED_IMPORT_MESSAGE_PATTERNS: |
|
|
||||||
[
|
|
||||||
"Not a Custom Format upgrade for existing",
|
|
||||||
"Not an upgrade for existing"
|
|
||||||
]
|
|
||||||
IGNORED_DOWNLOAD_CLIENTS: '["emulerr"]'
|
|
||||||
|
|
||||||
# Radarr
|
|
||||||
RADARR_URL: http://localhost:7878
|
|
||||||
RADARR_KEY: ${RADARR_API_KEY}
|
|
||||||
|
|
||||||
# Sonarr
|
|
||||||
SONARR_URL: http://localhost:8989
|
|
||||||
SONARR_KEY: ${SONARR_API_KEY}
|
|
||||||
|
|
||||||
# Lidarr
|
|
||||||
LIDARR_URL: http://localhost:8686
|
|
||||||
LIDARR_KEY: ${LIDARR_API_KEY}
|
|
||||||
|
|
||||||
# Whisparr
|
|
||||||
WHISPARR_URL: http://localhost:6969
|
|
||||||
WHISPARR_KEY: ${WHISPARR_API_KEY}
|
|
||||||
|
|
||||||
# qBittorrent
|
|
||||||
QBITTORRENT_URL: http://localhost:8080
|
|
||||||
QBITTORRENT_USERNAME: ${QBITTORRENT_USERNAME}
|
|
||||||
QBITTORRENT_PASSWORD: ${QBITTORRENT_PASSWORD}
|
|
||||||
network_mode: "service:gluetun"
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Update the package index
|
|
||||||
sudo apt update
|
|
||||||
|
|
||||||
# Install prerequisites
|
|
||||||
sudo apt install -y ca-certificates curl gnupg lsb-release
|
|
||||||
|
|
||||||
# Add Docker's official GPG key
|
|
||||||
sudo install -m 0755 -d /etc/apt/keyrings
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
||||||
sudo chmod a+r /etc/apt/keyrings/docker.gpg
|
|
||||||
|
|
||||||
# Set up the Docker repository
|
|
||||||
CODENAME=$(lsb_release -cs)
|
|
||||||
echo \
|
|
||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
|
||||||
$CODENAME stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
||||||
|
|
||||||
# Update the package index again
|
|
||||||
sudo apt update
|
|
||||||
|
|
||||||
# Install Docker Engine, CLI, and containerd
|
|
||||||
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
|
||||||
|
|
||||||
# Optional: Add the current user to the Docker group
|
|
||||||
if [ "$USER" != "root" ]; then
|
|
||||||
echo "Adding user $USER to the Docker group. Log out and log back in to apply the changes."
|
|
||||||
sudo usermod -aG docker $USER
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Done
|
|
||||||
echo "Docker has been installed successfully!"
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Update package lists and install dependencies
|
|
||||||
sudo apt update
|
|
||||||
sudo apt-get install libffi-dev libssl-dev python3-dev python3-pip -y
|
|
||||||
|
|
||||||
# Script install docker
|
|
||||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
|
||||||
sh get-docker.sh
|
|
||||||
|
|
||||||
# Script: install_docker_compose.sh
|
|
||||||
# Description: Script to install Docker Compose and its dependencies on Linux
|
|
||||||
|
|
||||||
# Install Docker Compose using pip
|
|
||||||
sudo pip3 install docker-compose
|
|
||||||
|
|
||||||
# Download Docker Compose executable
|
|
||||||
DOCKER_COMPOSE_VERSION=2.20.3
|
|
||||||
sudo curl -L --fail https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
|
|
||||||
|
|
||||||
# Make Docker Compose executable
|
|
||||||
sudo chmod +x /usr/local/bin/docker-compose
|
|
||||||
|
|
||||||
# Check if Docker Compose installation was successful
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo "Docker Compose is installed and ready to use."
|
|
||||||
else
|
|
||||||
echo "Failed to install Docker Compose."
|
|
||||||
fi
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
GNU nano 6.2 docker-compose.yml
|
|
||||||
version: "3.5"
|
|
||||||
services:
|
|
||||||
jellyfin:
|
|
||||||
image: ghcr.io/linuxserver/jellyfin:latest
|
|
||||||
# image: ghcr.io/linuxserver/jellyfin:arm64v8-10.8.12
|
|
||||||
container_name: jellyfin
|
|
||||||
network_mode: "bridge"
|
|
||||||
volumes:
|
|
||||||
- /home/traver/docker/jellyfin/config:/config
|
|
||||||
- /home/traver/docker/jellyfin/cache:/cache
|
|
||||||
- /media/nasmedia:/media
|
|
||||||
restart: "unless-stopped"
|
|
||||||
# Optional - alternative address used for autodiscovery
|
|
||||||
environment:
|
|
||||||
- JELLYFIN_PublishedServerUrl=http://docker2
|
|
||||||
ports:
|
|
||||||
- 8096:8096
|
|
||||||
- 8920:8920 #optional
|
|
||||||
- 7359:7359/udp #optional
|
|
||||||
- 1900:1900/udp #optional
|
|
||||||
#group_add:
|
|
||||||
# - "109" # Change this to match your "render" host group id and remove this comment
|
|
||||||
devices:
|
|
||||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
services:
|
|
||||||
ripper:
|
|
||||||
container_name: Ripper
|
|
||||||
image: rix1337/docker-ripper:manual-latest
|
|
||||||
privileged: true
|
|
||||||
ports:
|
|
||||||
- "port:9090" # Replace 'port' with your actual port (e.g., "8080:9090")
|
|
||||||
volumes:
|
|
||||||
- /path/to/config/:/config:rw
|
|
||||||
- /path/to/rips/:/out:rw
|
|
||||||
devices:
|
|
||||||
- /dev/sr0:/dev/sr0
|
|
||||||
- /dev/sg0:/dev/sg0
|
|
||||||
environment:
|
|
||||||
- OPTIONAL_WEB_UI_PATH_PREFIX=/ripper-ui
|
|
||||||
- OPTIONAL_WEB_UI_USERNAME=username
|
|
||||||
- OPTIONAL_WEB_UI_PASSWORD=securepassword
|
|
||||||
- DEBUGTOWEB=true
|
|
||||||
restart: unless-stopped
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
services:
|
|
||||||
broker:
|
|
||||||
image: docker.io/library/redis:7
|
|
||||||
hostname: redis
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- redisdata:/data
|
|
||||||
networks:
|
|
||||||
- paperless-ngx_default
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: docker.io/library/postgres:16
|
|
||||||
hostname: postgres
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- pgdata:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: paperless
|
|
||||||
POSTGRES_USER: paperless
|
|
||||||
POSTGRES_PASSWORD: paperless
|
|
||||||
networks:
|
|
||||||
- paperless-ngx_default
|
|
||||||
|
|
||||||
webserver:
|
|
||||||
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
|
||||||
hostname: paperless
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
- broker
|
|
||||||
ports:
|
|
||||||
- "8010:8000"
|
|
||||||
volumes:
|
|
||||||
- /mnt/naspublic/paperless-ngx/data:/usr/src/paperless/data
|
|
||||||
- /mnt/naspublic/:/usr/src/paperless/media
|
|
||||||
- /mnt/naspublic/paperless-ngx/export:/usr/src/paperless/export
|
|
||||||
- /mnt/naspublic/paperless-ngx/consume:/usr/src/paperless/consume
|
|
||||||
environment:
|
|
||||||
PAPERLESS_REDIS: redis://broker:6379
|
|
||||||
PAPERLESS_DBHOST: db
|
|
||||||
PAPERLESS_TIKA_ENABLED: 1
|
|
||||||
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
|
||||||
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
|
||||||
networks:
|
|
||||||
- paperless-ngx_default
|
|
||||||
|
|
||||||
gotenberg:
|
|
||||||
image: gotenberg/gotenberg:8
|
|
||||||
hostname: gotenberg
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
|
||||||
- "3000:3000"
|
|
||||||
networks:
|
|
||||||
- paperless-ngx_default
|
|
||||||
|
|
||||||
tika:
|
|
||||||
image: ghcr.io/paperless-ngx/tika:latest-full
|
|
||||||
container_name: paperless_tika
|
|
||||||
hostname: tika
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "9998:9998"
|
|
||||||
networks:
|
|
||||||
- paperless-ngx_default
|
|
||||||
|
|
||||||
networks:
|
|
||||||
paperless-ngx_default:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
pgdata:
|
|
||||||
redisdata:
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Script: setup_portainer.sh
|
|
||||||
# Description: Script to set up Portainer using Docker on Linux
|
|
||||||
|
|
||||||
# Variables
|
|
||||||
PORTAINER_PORT=8099
|
|
||||||
DOCKER_SOCK=/var/run/docker.sock
|
|
||||||
|
|
||||||
# Create the portainer volume
|
|
||||||
docker volume create portainer_data
|
|
||||||
|
|
||||||
# Download and create portainer container
|
|
||||||
docker run -d -p $PORTAINER_PORT:8000 -p 9443:9443 --name portainer --restart=always -v $DOCKER_SOCK:$DOCKER_SOCK -v portainer_data:/data portainer/portainer-ce:latest
|
|
||||||
|
|
||||||
# Check if the container started successfully
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo "Portainer container is up and running."
|
|
||||||
else
|
|
||||||
echo "Failed to start Portainer container."
|
|
||||||
fi
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
docker stop portainer
|
|
||||||
docker rm portainer
|
|
||||||
docker pull portainer/portainer-ce:latest
|
|
||||||
|
|
||||||
|
|
||||||
@@ -43,6 +43,4 @@ Root-level helper scripts include:
|
|||||||
|
|
||||||
To clone this repository and switch to the main branch:
|
To clone this repository and switch to the main branch:
|
||||||
|
|
||||||
```bash
|
```sudo curl -s https://raw.githubusercontent.com/wickedyoda/public-setupfiles/refs/heads/main/update-from_repo.sh | sudo bash```
|
||||||
git clone https://github.com/wickedyoda/public-setupfiles.git
|
|
||||||
cd public-setupfiles
|
|
||||||
Reference in new issue
Block a user