Compare commits

...

4 Commits

Author SHA1 Message Date
1109cfd9e6 Update all compose files to 3.9 spec
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 17s
Deploy to Druid / Deploy (push) Successful in 18s
Deploy to Fighter / Notify (push) Successful in 2s
Deploy to Druid / Notify (push) Successful in 9s
2024-02-15 02:09:59 -08:00
7880f1d341 #120 Switch all env_file parameters to long format 2024-02-15 02:05:23 -08:00
2da418fe02 Newline 2024-02-15 01:47:40 -08:00
48bb11115e Add deploy stage to druid 2024-02-15 01:47:30 -08:00
32 changed files with 133 additions and 74 deletions

View File

@ -30,6 +30,18 @@ jobs:
echo "===== Validating $(basename $PWD) =====" &&
docker compose config > /dev/null
done
- name: Deploy new config
uses: appleboy/ssh-action@master
with:
host: ${{ vars.SSH_HOST_IP_DRUID }} # this is a LAN IP
username: ${{ vars.SSH_USERNAME_DRUID }}
key: ${{ secrets.SSH_KEY_DEPLOY_TO_DRUID }}
script: |
for stack in /home/$USER/homelab/druid/config/*
do cd $stack &&
echo "===== Deploying $(basename $PWD) =====" &&
docker compose up -d
done
Notify:
runs-on: druid

View File

@ -42,6 +42,7 @@ jobs:
echo "===== Deploying $(basename $PWD) =====" &&
docker compose up -d
done
Notify:
runs-on: fighter
steps:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
5etools:
container_name: 5etools

View File

@ -1,4 +1,4 @@
version: "3.9"
version: '3.9'
services:
gitea:
image: gitea/gitea:1.21.0

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
exporter-docker:
image: prometheusnet/docker_exporter

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
traefik:
container_name: traefik_traefik

View File

@ -1,4 +1,4 @@
version: '3.3'
version: '3.9'
services:
uptime-kuma:
image: louislam/uptime-kuma:1

View File

@ -1,11 +1,12 @@
version: '3'
version: '3.9'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden_vaultwarden
restart: "no"
env_file:
- vaultwarden_secrets.env
- path: ./vaultwarden_secrets.env
required: false
networks:
- web
volumes:

View File

@ -1,12 +1,14 @@
version: "3"
version: '3.9'
services:
wg-easy:
image: weejewel/wg-easy
container_name: wireguard_wg-easy
restart: "no"
env_file:
- wireguard.env
- wireguard_secrets.env
- path: ./wireguard.env
required: true
- path: ./wireguard_secrets.env
required: false
ports:
- 53820:51820/udp
networks:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
radarr:
image: linuxserver/radarr

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
radarr:
image: linuxserver/radarr
@ -6,7 +6,8 @@ services:
networks:
- web
env_file:
- autopirate.env
- path: ./autopirate.env
required: true
volumes:
- "${MEDIA_DIR}/Video/Movies:/movies"
- "${DOCKER_DATA}/radarr_config:/config"
@ -23,7 +24,8 @@ services:
networks:
- web
env_file:
- autopirate.env
- path: ./autopirate.env
required: true
volumes:
- "${MEDIA_DIR}/Video/Shows:/shows"
- "${DOCKER_DATA}/sonarr_config:/config"
@ -40,7 +42,8 @@ services:
networks:
- web
env_file:
- autopirate.env
- path: ./autopirate.env
required: true
volumes:
- "${DOCKER_DATA_LOCAL}/bazarr:/config"
- "${MEDIA_DIR}/Video/Movies:/movies"
@ -57,7 +60,8 @@ services:
networks:
- web
env_file:
- autopirate.env
- path: ./autopirate.env
required: true
volumes:
- "${DOCKER_DATA}/nzbhydra2_config:/config"
- "${NZB_DIR}:/downloads"
@ -74,7 +78,8 @@ services:
- web
- monitoring
env_file:
- autopirate.env
- path: ./autopirate.env
required: true
ports:
- 8085:8080
volumes:
@ -107,8 +112,10 @@ services:
- traefik.http.routers.tdarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
- traefik.http.services.tdarr.loadbalancer.server.port=8265
env_file:
- autopirate.env
- tdarr.env
- path: ./autopirate.env
required: true
- path: ./tdarr.env
required: true
volumes:
- ${DOCKER_DATA}/tdarr/server:/app/server
- ${DOCKER_DATA}/tdarr/configs:/app/configs
@ -124,8 +131,10 @@ services:
tdarr:
ipv4_address: 172.110.0.20
env_file:
- autopirate.env
- tdarr_node.env
- path: ./autopirate.env
required: true
- path: ./tdarr_node.env
required: true
volumes:
- ${DOCKER_DATA}/tdarr/configs:/app/configs
- ${DOCKER_DATA}/tdarr/logs:/app/logs
@ -139,8 +148,10 @@ services:
networks:
- web
env_file:
- autopirate.env
- jackett.env
- path: ./autopirate.env
required: true
- path: ./jackett.env
required: true
volumes:
- "${DOCKER_DATA}/jackett_config:/config"
- "${NZB_DIR}:/downloads"
@ -157,8 +168,10 @@ services:
networks:
- monitoring
env_file:
- exporter-sabnzbd.env
- exporter-sabnzbd_secrets.env
- path: ./exporter-sabnzbd.env
required: true
- path: ./exporter-sabnzbd_secrets.env
required: false
networks:
tdarr:

View File

@ -1,10 +1,11 @@
version: '3'
version: '3.9'
services:
calibre-web-rpg:
image: linuxserver/calibre-web
container_name: calibre-web_rpg
env_file:
- calibre-web.env
- path: ./calibre-web.env
required: true
volumes:
- calibre-web-rpg_data:/config
- $LIBRARY_DIR/rpg:/books
@ -18,7 +19,8 @@ services:
image: linuxserver/calibre-web
container_name: calibre-web_sff
env_file:
- calibre-web.env
- path: ./calibre-web.env
required: true
volumes:
- calibre-web-sff_data:/config
- $LIBRARY_DIR/sff:/books

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
ddclient:
image: linuxserver/ddclient
@ -7,7 +7,8 @@ services:
networks:
- ddns
env_file:
- ddclient.env
- path: ./ddclient.env
required: true
volumes:
- ./ddclient:/config
labels:

View File

@ -1,4 +1,4 @@
version: "3.9"
version: '3.9'
services:
runner-ubuntu:
image: gitea/act_runner:latest

View File

@ -1,4 +1,4 @@
version: '3.1'
version: '3.9'
services:
megan-portfolio:
@ -6,7 +6,8 @@ services:
container_name: wordpress_megan-portfolio
restart: "no"
env_file:
- megan-portfolio.env
- path: ./megan-portfolio.env
required: true
volumes:
- ${DOCKER_DATA}/html:/var/www/html
- ./upload.ini:/usr/local/etc/php/conf.d/uploads.ini
@ -26,7 +27,8 @@ services:
networks:
- portfolio
env_file:
- megan-portfolio-db.env
- path: ./megan-portfolio-db.env
required: true
volumes:
- ${DOCKER_DATA}/db:/var/lib/mysql
labels:

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
router:
image: itzg/mc-router
@ -19,17 +19,21 @@ services:
- monitoring
- minecraft
env_file:
- exporter.env
- path: ./exporter.env
required: true
labels:
- traefik.enable=false
prominence:
image: itzg/minecraft-server:latest
container_name: minecraft_prominence
env_file:
- minecraft.env
- minecraft_secrets.env
- prominence.env
env_file:
- path: ./minecraft.env
required: true
- path: ./minecraft_secrets.env
required: false
- path: ./prominence.env
required: true
volumes:
- $DOCKER_DATA/prominence:/data:rw
networks:

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
grafana:
image: grafana/grafana-oss:latest
@ -61,8 +61,10 @@ services:
image: ekofr/pihole-exporter:latest
container_name: monitoring_exporter-pihole
env_file:
- exporter-pihole_secrets.env
- exporter-pihole.env
- path: ./exporter-pihole.env
required: true
- path: ./exporter-pihole_secrets.env
required: false
restart: "no"
networks:
- monitoring

View File

@ -1,10 +1,11 @@
version: '3'
version: '3.9'
services:
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud_nextcloud
env_file:
- nextcloud.env
- path: ./nextcloud.env
required: true
depends_on:
- mariadb
labels:
@ -26,8 +27,10 @@ services:
networks:
- nextcloud
env_file:
- mariadb.env
- mariadb_secrets.env
- path: ./mariadb.env
required: true
- path: ./mariadb_secrets
required: false
volumes:
- $DOCKER_DATA/mariadb:/config

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
nginx:
image: nginx:latest

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
plex:
image: linuxserver/plex

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
plex:
image: linuxserver/plex
@ -18,9 +18,12 @@ services:
- 32413:32413/udp
- 32414:32414/udp
env_file:
- plex_stack.env
- plex.env
- plex_secrets.env
- path: ./plex.env
required: true
- path: ./plex_stack.env
required: true
- path: ./plex_secrets.env
required: false
volumes:
- "${MEDIA_DIR}/Video/Movies:/movies"
- "${MEDIA_DIR}/Video/Shows:/shows"
@ -30,6 +33,7 @@ services:
- traefik.http.routers.plex.rule=Host(`plex.jafner.net`)
- traefik.http.routers.plex.tls.certresolver=lets-encrypt
- traefik.http.services.plex.loadbalancer.server.port=32400
ombi:
image: ghcr.io/linuxserver/ombi
container_name: plex_ombi
@ -37,7 +41,8 @@ services:
networks:
- web
env_file:
- plex_stack.env
- path: ./plex_stack.env
required: true
volumes:
- "${DOCKER_DATA}/ombi:/config"
labels:
@ -46,6 +51,7 @@ services:
- traefik.http.routers.ombi.tls.options=tls12@file
- traefik.http.routers.ombi.middlewares=securityheaders@file
- traefik.http.services.ombi.loadbalancer.server.port=3579
exporter-plex:
image: granra/plex_exporter
container_name: plex_exporter

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
qbittorrent:
image: linuxserver/qbittorrent
@ -14,7 +14,8 @@ services:
- $DOCKER_DATA:/config
- $TORRENT_DATA:/torrenting
env_file:
- qbittorrent.env
- path: ./qbittorrent.env
required: true
ports:
- 49510:49510
labels:
@ -22,11 +23,13 @@ services:
- traefik.http.routers.qbt.tls.certresolver=lets-encrypt
- traefik.http.routers.qbt.middlewares=traefik-forward-auth-privileged@file
- traefik.http.services.qbt.loadbalancer.server.port=8080
exporter-qbittorrent:
image: esanchezm/prometheus-qbittorrent-exporter
container_name: qbittorrent_exporter
env_file:
- exporter.env
- path: ./exporter.env
required: true
restart: "no"
networks:
- monitoring

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
send:
image: registry.gitlab.com/timvisee/send:latest
@ -9,7 +9,8 @@ services:
- send
- web
env_file:
- send.env
- path: ./send.env
required: true
volumes:
- ${DOCKER_DATA}/uploads:/uploads
labels:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
stash:
container_name: stash
@ -13,7 +13,8 @@ services:
- $MEDIA_DIR/Galleries:/media/Galleries
- $DOCKER_DATA:/root/.stash
env_file:
- stashapp.env
- path: ./stashapp.env
required: true
networks:
- web
labels:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
traefik:

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
unifi-controller:
image: lscr.io/linuxserver/unifi-controller
@ -7,7 +7,8 @@ services:
networks:
- web
env_file:
- unifi_controller.env
- path: ./unifi_controller.env
required: true
volumes:
- ${DOCKER_DATA}/config:/config
ports:

View File

@ -1,11 +1,12 @@
version: "3"
version: '3.9'
services:
vandam:
image: ghcr.io/floppy/van_dam:latest
container_name: vandam_vandam
env_file:
- vandam_secrets.env
- path: ./vandam_secrets.env
required: false
volumes:
- ${STL_DIR}:/libraries
networks:
@ -25,7 +26,8 @@ services:
networks:
- vandam
env_file:
- db_secrets.env
- path: ./db_secrets.env
required: false
volumes:
- db_data:/var/lib/postgresql/data

View File

@ -1,12 +1,14 @@
version: "3"
version: '3.9'
services:
wg-easy:
image: weejewel/wg-easy
container_name: wireguard_wg-easy
restart: "no"
env_file:
- wireguard.env
- wireguard_secrets.env
- path: ./wireguard.env
required: true
- path: ./wireguard_secrets.env
required: false
ports:
- 53820:51820/udp
networks:

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
nginx:
image: nginx

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
traefik:
container_name: traefik_traefik

View File

@ -1,4 +1,4 @@
version: '3'
version: '3.9'
services:
nginx:
image: nginx

View File

@ -1,4 +1,4 @@
version: "3"
version: '3.9'
services:
traefik: