Remove or archive unused services

This commit is contained in:
Joey Hafner 2023-06-19 18:05:12 -07:00
parent 377b759efb
commit 31e0015034
99 changed files with 40 additions and 221 deletions

View File

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 406 KiB

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Before

Width:  |  Height:  |  Size: 297 KiB

After

Width:  |  Height:  |  Size: 297 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 302 KiB

After

Width:  |  Height:  |  Size: 302 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 790 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 319 KiB

After

Width:  |  Height:  |  Size: 319 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View File

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

Before

Width:  |  Height:  |  Size: 311 KiB

After

Width:  |  Height:  |  Size: 311 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B

View File

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 239 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,51 +1,15 @@
# Database / Postgres service configuration
POSTGRES_USER=postgresuser
POSTGRES_PASSWORD=postgrespassword
# Postgres database name "peertube"
POSTGRES_DB=peertube
# Editable only with a suffix :
#POSTGRES_DB=peertube_prod
#PEERTUBE_DB_SUFFIX=_prod
PEERTUBE_DB_USERNAME=postgresuser
PEERTUBE_DB_PASSWORD=postgrespassword
PEERTUBE_DB_SSL=false
# Default to Postgres service name "postgres" in docker-compose.yml
PEERTUBE_DB_HOSTNAME=postgres
# Server configuration
PEERTUBE_WEBSERVER_HOSTNAME=peertube.jafner.net
# If you do not use https and a reverse-proxy in docker-compose.yml
#PEERTUBE_WEBSERVER_PORT=80
#PEERTUBE_WEBSERVER_HTTPS=false
# If you need more than one IP as trust_proxy
# pass them as a comma separated array:
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.80.0.0/16"]
# E-mail configuration
# If you use a Custom SMTP server
PEERTUBE_SMTP_USERNAME=noreply@jafner.net
PEERTUBE_SMTP_PASSWORD=xygusaifgryapwqh
# Default to Postfix service name "postfix" in docker-compose.yml
# May be the hostname of your Custom SMTP server
PEERTUBE_SMTP_HOSTNAME=smtp.gmail.com
PEERTUBE_SMTP_PORT=465
PEERTUBE_SMTP_FROM=noreply@jafner.net
PEERTUBE_SMTP_TLS=false
PEERTUBE_SMTP_DISABLE_STARTTLS=false
PEERTUBE_ADMIN_EMAIL=joey@jafner.net
# Postfix service configuration
POSTFIX_myhostname=jafner.net
# If you need to generate a list of sub/DOMAIN keys
# pass them as a whitespace separated string <DOMAIN>=<selector>
OPENDKIM_DOMAINS=jafner.net=peertube
# see https://github.com/wader/postfix-relay/pull/18
OPENDKIM_RequireSafeKeys=no
# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
PEERTUBE_SIGNUP_ENABLED=true
#PEERTUBE_TRANSCODING_ENABLED=true
#PEERTUBE_CONTACT_FORM_ENABLED=true
# Docker volume location
DOCKER_VOLUME=/mnt/md0/peertube
## Dev
PEERTUBE_DATA_VOLUME=/mnt/nas/peertube
PEERTUBE_CONFIG_VOLUME=/mnt/md0/peertube-test/peertube/
POSTGRES_CONFIG_VOLUME=/mnt/md0/peertube-test/db/
REDIS_CONFIG_VOLUME=/mnt/md0/peertube-test/redis/
POSTFIX_CONFIG_VOLUME=/mnt/md0/peertube-test/postfix/
## Prod
#PEERTUBE_DATA_VOLUME=/mnt/nas/peertube
#PEERTUBE_CONFIG_VOLUME=/mnt/md0/peertube/peertube/
#POSTGRES_CONFIG_VOLUME=/mnt/md0/peertube/db/
#REDIS_CONFIG_VOLUME=/mnt/md0/peertube/redis/
#POSTFIX_CONFIG_VOLUME=/mnt/md0/peertube/postfix/

View File

@ -2,7 +2,8 @@ version: "3.3"
services:
peertube:
image: chocobozzz/peertube:production-buster
image: chocobozzz/peertube:production-bullseye
#image: jafner/peertube:dev
container_name: peertube_peertube
logging:
driver: loki
@ -17,15 +18,18 @@ services:
peertube:
ipv4_address: 172.80.0.42
env_file:
- .env
- peertube.env
- peertube_secrets.env
ports:
- "1935:1935" # If you don't want to use the live feature, you can comment this line
- "11935:1935" # Livestream RTMP port
volumes:
- assets:/app/client/dist
- ${DOCKER_VOLUME}/data:/data
- ${DOCKER_VOLUME}/config:/config
- peertube-assets:/app/client/dist
#- peertube-data:/data
- ${PEERTUBE_DATA_VOLUME}:/data
#- peertube-config:/config
- ${PEERTUBE_CONFIG_VOLUME}:/config
labels:
- "traefik.http.routers.peertube.rule=Host(`peertube.jafner.net`)"
- "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)"
- "traefik.http.routers.peertube.tls.certresolver=lets-encrypt"
- "traefik.http.services.peertube.loadbalancer.server.port=9000"
depends_on:
@ -40,9 +44,11 @@ services:
networks:
- peertube
env_file:
- .env
- postgres.env
- postgres_secrets.env
volumes:
- ${DOCKER_VOLUME}/db:/var/lib/postgresql/data
#- postgres-config:/var/lib/postgresql/data
- ${POSTGRES_CONFIG_VOLUME}:/var/lib/postgresql/data
restart: "no"
redis:
@ -51,7 +57,8 @@ services:
networks:
- peertube
volumes:
- ${DOCKER_VOLUME}/redis:/data
#- redis-config:/data
- ${REDIS_CONFIG_VOLUME}:/data
restart: "no"
postfix:
@ -60,9 +67,10 @@ services:
networks:
- peertube
env_file:
- .env
- postfix.env
volumes:
- ${DOCKER_VOLUME}/opendkim/keys:/etc/opendkim/keys
#- postfix-config:/etc/opendkim/keys
- ${POSTFIX_CONFIG_VOLUME}:/etc/opendkim/keys
restart: "no"
networks:
@ -75,4 +83,9 @@ networks:
external: true
volumes:
assets:
peertube-assets:
#peertube-config:
#peertube-data:
#postgres-config:
#redis-config:
#postfix-config:

View File

@ -50,31 +50,6 @@ services:
- traefik.http.services.sonarr.loadbalancer.server.port=8989
- traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
lidarr:
image: linuxserver/lidarr
container_name: autopirate_lidarr
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
- web
env_file:
- autopirate.env
volumes:
- "${DOCKER_DATA}/lidarr:/config"
- "${NZB_DIR}:/downloads"
- "${MEDIA_DIR}/Audio/Music:/music"
labels:
- traefik.http.routers.lidarr.rule=Host(`lidarr.jafner.net`)
- traefik.http.routers.lidarr.tls.certresolver=lets-encrypt
- trarfik.http.services.lidarr.loadbalancer.server.port=8686
- traefik.http.routers.lidarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
bazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: autopirate_bazarr

View File

@ -1,3 +0,0 @@
VIDEO_DIR=/mnt/nas/media/Video/Recordings/Fireshare
DATA_DIR=/home/joey/data/fireshare/db
PROCESSED_DIR=/home/joey/data/fireshare/metadata

View File

@ -97,26 +97,6 @@ services:
labels:
- traefik.enable=false
exporter-pihole:
image: ekofr/pihole-exporter:latest
container_name: monitoring_exporter-pihole
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- monitoring
env_file:
- exporter-pihole.env
- exporter-pihole_secrets.env
labels:
- traefik.enable=false
exporter-ping:
image: czerwonk/ping_exporter
container_name: monitoring_exporter-ping

View File

@ -1,4 +0,0 @@
PIHOLE_HOSTNAME=pihole
PIHOLE_PROTOCOL=http
INTERVAL=15s
PORT=9617 # port on which the metrics should be available to be scraped by prometheus

View File

@ -1,15 +0,0 @@
# Docker volume location
## Dev
PEERTUBE_DATA_VOLUME=/mnt/nas/peertube
PEERTUBE_CONFIG_VOLUME=/mnt/md0/peertube-test/peertube/
POSTGRES_CONFIG_VOLUME=/mnt/md0/peertube-test/db/
REDIS_CONFIG_VOLUME=/mnt/md0/peertube-test/redis/
POSTFIX_CONFIG_VOLUME=/mnt/md0/peertube-test/postfix/
## Prod
#PEERTUBE_DATA_VOLUME=/mnt/nas/peertube
#PEERTUBE_CONFIG_VOLUME=/mnt/md0/peertube/peertube/
#POSTGRES_CONFIG_VOLUME=/mnt/md0/peertube/db/
#REDIS_CONFIG_VOLUME=/mnt/md0/peertube/redis/
#POSTFIX_CONFIG_VOLUME=/mnt/md0/peertube/postfix/

View File

@ -1,91 +0,0 @@
version: "3.3"
services:
peertube:
image: chocobozzz/peertube:production-bullseye
#image: jafner/peertube:dev
container_name: peertube_peertube
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
web:
peertube:
ipv4_address: 172.80.0.42
env_file:
- peertube.env
- peertube_secrets.env
ports:
- "11935:1935" # Livestream RTMP port
volumes:
- peertube-assets:/app/client/dist
#- peertube-data:/data
- ${PEERTUBE_DATA_VOLUME}:/data
#- peertube-config:/config
- ${PEERTUBE_CONFIG_VOLUME}:/config
labels:
- "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)"
- "traefik.http.routers.peertube.tls.certresolver=lets-encrypt"
- "traefik.http.services.peertube.loadbalancer.server.port=9000"
depends_on:
- postgres
- redis
- postfix
restart: "no"
postgres:
image: postgres:13-alpine
container_name: peertube_postgres
networks:
- peertube
env_file:
- postgres.env
- postgres_secrets.env
volumes:
#- postgres-config:/var/lib/postgresql/data
- ${POSTGRES_CONFIG_VOLUME}:/var/lib/postgresql/data
restart: "no"
redis:
image: redis:6-alpine
container_name: peertube_redis
networks:
- peertube
volumes:
#- redis-config:/data
- ${REDIS_CONFIG_VOLUME}:/data
restart: "no"
postfix:
image: mwader/postfix-relay
container_name: peertube_postfix
networks:
- peertube
env_file:
- postfix.env
volumes:
#- postfix-config:/etc/opendkim/keys
- ${POSTFIX_CONFIG_VOLUME}:/etc/opendkim/keys
restart: "no"
networks:
peertube:
ipam:
driver: default
config:
- subnet: 172.80.0.0/16
web:
external: true
volumes:
peertube-assets:
#peertube-config:
#peertube-data:
#postgres-config:
#redis-config:
#postfix-config: