Compare commits

...

5 Commits

Author SHA1 Message Date
Trez.One 0825c61e39 Adding more notifications to pipeline; YAML format fixing for environments key.
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Check and Create PR (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Docker Compose & Ansible Lints (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Cloudflare DNS Setup (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Update README (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / PR Merge (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Deploy via Ansible & Docker Compose (push) Has been cancelled
2025-01-23 15:53:49 -05:00
Trez.One a99ef85ef2 . 2025-01-23 14:38:09 -05:00
Trez.One bf600a618d Adding login for DbGate. 2025-01-23 14:21:42 -05:00
gitea-sonarqube-bot b0cc71e809 Auto Merge of PR 30 - sourcebot-deployment
Merged by Trez.One
2025-01-23 13:16:56 -05:00
Trez.One ffccf913f1 chore: Update README 2025-01-23 18:16:17 +00:00
3 changed files with 76 additions and 35 deletions
@@ -79,6 +79,13 @@ jobs:
--check
requirements: collections/requirements.yml
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Ansible Config Dry Run @ Rinoa'
notification_message: 'Ansible dry run completed successfully.'
- name: Generate .env file for Docker Compose Dry Run
run: |
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
@@ -97,6 +104,13 @@ jobs:
up-opts: --dry-run -d --remove-orphans
env:
DOCKER_HOST: tcp://dockerproxy:2375
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Dry Run @ Rinoa'
notification_message: 'Docker Compose dry run completed successfully.'
cloudflare-dns-setup:
name: Cloudflare DNS Setup
needs: [docker-compose-ansible-lints]
@@ -132,6 +146,13 @@ jobs:
run: |
yq '.services[].labels.swag_url' docker-compose.yml | egrep -v 'null' | sed -e 's|"||g' | awk -F'.' '{print $1}' | sort > compose_subdomains.txt
flarectl --json dns list --zone "trez.wtf" --type=CNAME --content "trez.wtf" | jq '.[].Name' | sed -e 's|"||g' | awk -F"." '{print $1}' | sort > cloudflare_subdomains.txt
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Cloudflare Setup @ Rinoa'
notification_message: 'Starting Cloudflare setup'
- name: Compare Subdomains
id: compare-subdomains
uses: LouisBrunner/diff-action@v2.2.0
@@ -152,6 +173,13 @@ jobs:
echo "Creating $subdomain.trez.wtf..."
flarectl dns create --zone "trez.wtf" --name "${subdomain}" --type=CNAME --content "trez.wtf" --proxy true
done
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Cloudflare Setup @ Rinoa'
notification_message: 'Cloudflare DNS setup completed successfully.'
regenerate-readme:
name: Update README
runs-on: ubuntu-latest
@@ -203,6 +231,14 @@ jobs:
echo "Merging PR..."
pr_index=$(tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state --output csv | egrep ${{ github.ref_name }} | awk -F"," '{print $1}' | sed -e 's|"||g')
tea pr m --repo ${{ github.repository }} --title "Auto Merge of PR ${pr_index} - ${{ github.ref_name }}" --message "Merged by ${{ github.actor }}" ${pr_index}
echo "pr_index=${pr_index}" >> $GITHUB_OUTPUT
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: PR Merge Successful'
notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.'
ansible-config-docker-compose-deploy:
name: Deploy via Ansible & Docker Compose
runs-on: ubuntu-latest
@@ -245,7 +281,7 @@ jobs:
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'Ansible Config Deployment @ Rinoa'
notification_title: 'GITEA: Ansible Config Deployment @ Rinoa'
notification_message: 'Deployment completed successfully.'
- name: Generate .env file for deployment
run: |
@@ -264,5 +300,5 @@ jobs:
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'Docker Compose Deployment @ Rinoa'
notification_title: 'GITEA: Docker Compose Deployment @ Rinoa'
notification_message: 'Deployment completed successfully.'
+1
View File
@@ -125,6 +125,7 @@
| sonashow | thewicklowwolf/sonashow:latest |
| soularr | mrusse08/soularr:latest |
| soulseek | slskd/slskd |
| sourcebot | ghcr.io/sourcebot-dev/sourcebot:latest |
| speedtest-tracker | lscr.io/linuxserver/speedtest-tracker:latest |
| spotisub | blastbeng/spotisub:latest |
| swag | lscr.io/linuxserver/swag:latest |
+37 -33
View File
@@ -40,7 +40,7 @@ services:
adguard:
container_name: adguard
environment:
TZ: America/New_York
TZ: ${TZ}
hostname: Rinoa
image: adguard/adguardhome:latest
labels:
@@ -289,10 +289,10 @@ services:
bazarr:
container_name: bazarr
environment:
- PGID=1000
- PUID=1000
- TZ=America/New_York
- DOCKER_MODS=ghcr.io/gilbn/theme.park:bazarr
PGID: ${PGID}
PUID: ${PUID}
TZ: ${TZ}
DOCKER_MODS: ghcr.io/gilbn/theme.park:bazarr
hostname: Rinoa
image: lscr.io/linuxserver/bazarr:latest
labels:
@@ -853,6 +853,9 @@ services:
environment:
CONNECTIONS: authelia-pg,bitmagnet-pg-db,gitea-db,invidious-db,joplin-db,lobe-chat-pg-db,mariadb,mastodon-pg-db,mongodb,netbox-db,pgbackweb,pgbackweb-db,plausible-db,plausible-events-db,reactive-resume-pg,sonarqube-pg-db,synapse-db,tandoor-pg,traccar-pg,whodb,zitadel-pg-db
LOGIN: TrezOne
PASSWORD: ${DBGATE_LOGIN_PASSWORD}
LABEL_mariadb: mariadb
SERVER_mariadb: mariadb
USER_mariadb: root
@@ -1621,7 +1624,7 @@ services:
command: run --disable-reporting=true --stability.level=public-preview --server.http.listen-addr=0.0.0.0:12345 /etc/alloy/config.alloy
container_name: grafana-alloy
environment:
- DOCKER_HOST=tcp://dockerproxy:2375
DOCKER_HOST: tcp://dockerproxy:2375
image: grafana/alloy:latest
labels:
homepage.group: Infrastructure/App Performance Monitoring
@@ -2865,8 +2868,8 @@ services:
lidarr:
container_name: lidarr
environment:
PGID: 1000
PUID: 1000
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:lidarr
hostname: Rinoa
@@ -3579,9 +3582,9 @@ services:
required: true
restart: true
environment:
PGID: 1000
PUID: 1000
TZ: America/New_York
PGID: ${PGID}
PUID: ${PUID}
TZ: ${TZ}
LOG_LEVEL: debug
hostname: Rinoa
image: lscr.io/linuxserver/nextcloud:latest
@@ -3647,8 +3650,8 @@ services:
ombi:
container_name: ombi
environment:
PGID: "1000"
PUID: "1000"
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
hostname: Rinoa
image: lscr.io/linuxserver/ombi:latest
@@ -3940,8 +3943,8 @@ services:
prowlarr:
container_name: prowlarr
environment:
PGID: 1000
PUID: 1000
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr
TP_DOMAIN: trez.wtf\/themepark
@@ -4042,9 +4045,9 @@ services:
radarr:
container_name: radarr
environment:
PGID: "1000"
PUID: "1000"
TZ: America/New_York
PGID: ${PGID}
PUID: ${PUID}
TZ: ${TZ}
hostname: Rinoa
image: lscr.io/linuxserver/radarr:latest
labels:
@@ -4155,8 +4158,8 @@ services:
readarr:
container_name: readarr
environment:
PGID: 1000
PUID: 1000
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:readnarr
hostname: Rinoa
@@ -4599,7 +4602,7 @@ services:
read_only: true
restart: unless-stopped
sonarqube-pg-db:
container_name: sonarqube-pg-db
container_name: sonarqube-pg-db
environment:
POSTGRES_USER: sonar
POSTGRES_PASSWORD: ${SONARQUBE_POSTGRES_PASSWORD}
@@ -4617,9 +4620,9 @@ services:
sonarr:
container_name: sonarr
environment:
PGID: 1000
PUID: 1000
TZ: America/New_York
PGID: ${PGID}
PUID: ${PUID}
TZ: ${TZ}
DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr
hostname: Rinoa
image: lscr.io/linuxserver/sonarr:latest
@@ -4749,7 +4752,7 @@ services:
homepage.group: Downloaders
homepage.description: Modern client-server application for the Soulseek file-sharing network.
homepage.href: https://slsk.${MY_TLD}
homepage.icon: /icons/slskd.png
homepage.icon: slskd.svg
swag: enable
swag_proto: http
swag_url: slsk.${MY_TLD}
@@ -4783,6 +4786,7 @@ services:
homepage.icon: /icons/sourcebot.png
swag: enable
swag_proto: http
swag_port: 3000
swag_url: source.${MY_TLD}
swag.uptime-kuma.enabled: true
swag.uptime-kuma.monitor.url: https://source.${MY_TLD}
@@ -4932,7 +4936,7 @@ services:
swag_url: matrix.${MY_TLD}
swag_port: 8008
swag.uptime-kuma.enabled: true
swag.uptime-kuma.monitor.url: https://matrix.${MY_TLD}
swag.uptime-kuma.monitor.url: https://matrix.${MY_TLD}
ports:
- 19345:8008
- 8448:8448/tcp
@@ -6322,8 +6326,8 @@ services:
uptimekuma:
container_name: uptimekuma
environment:
PGID: 1000
PUID: 1000
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
UPTIME_KUMA_USERNAME: ${UPTIME_KUMA_USERNAME}
UPTIME_KUMA_PASSWORD: ${UPTIME_KUMA_PASSWORD}
@@ -6629,7 +6633,7 @@ services:
wazuh.indexer:
container_name: wazuh.indexer
environment:
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
hostname: wazuh.indexer
image: wazuh/wazuh-indexer:${WAZUH_VERSION}
networks:
@@ -6845,8 +6849,8 @@ services:
your_spotify:
container_name: your_spotify
environment:
PUID: 1000
PGID: 1000
PUID: ${PUID}
PGID: ${PGID}
TZ: ${TZ}
APP_URL: https://myspotify.${MY_TLD}
SPOTIFY_PUBLIC: ${YOUR_SPOTIFY_ID}
@@ -6879,8 +6883,8 @@ services:
youtubedl:
container_name: youtubedl
environment:
PGID: "1000"
PUID: "1000"
PGID: ${PGID}
PUID: ${PUID}
TZ: America/New_York
YDL_CONFIG_PATH: /youtube-dl/config.yml
YDL_DEBUG: "false"