Compare commits

...

8 Commits

Author SHA1 Message Date
Trez.One 0c869ce43f Switching to Bitnami Mongo image.
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-24 10:03:32 -05:00
Trez.One e3136340fd Merge remote-tracking branch 'refs/remotes/origin/main' 2025-01-23 16:15:39 -05:00
Trez.One 9058ac5505 Adding host command flag for Portainer. 2025-01-23 16:15:29 -05:00
gitea-sonarqube-bot d388a2c975 Auto Merge of PR 33 - workflow-gotify-notifications
Merged by Trez.One
2025-01-23 16:06:12 -05:00
Trez.One 03b7821dbf Correcting port for Portainer. 2025-01-23 15:56:05 -05:00
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
gitea-sonarqube-bot b7d7d5e000 Auto Merge of PR 32 - portainer-deployment
Merged by Trez.One
2025-01-23 15:28:53 -05:00
Trez.One ffc9c1833d chore: Update README 2025-01-23 20:28:04 +00:00
3 changed files with 90 additions and 48 deletions
@@ -79,6 +79,13 @@ jobs:
--check --check
requirements: collections/requirements.yml requirements: collections/requirements.yml
vault_password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} 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 - name: Generate .env file for Docker Compose Dry Run
run: | run: |
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env 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 up-opts: --dry-run -d --remove-orphans
env: env:
DOCKER_HOST: tcp://dockerproxy:2375 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: cloudflare-dns-setup:
name: Cloudflare DNS Setup name: Cloudflare DNS Setup
needs: [docker-compose-ansible-lints] needs: [docker-compose-ansible-lints]
@@ -132,6 +146,13 @@ jobs:
run: | run: |
yq '.services[].labels.swag_url' docker-compose.yml | egrep -v 'null' | sed -e 's|"||g' | awk -F'.' '{print $1}' | sort > compose_subdomains.txt 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 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 - name: Compare Subdomains
id: compare-subdomains id: compare-subdomains
uses: LouisBrunner/diff-action@v2.2.0 uses: LouisBrunner/diff-action@v2.2.0
@@ -152,6 +173,13 @@ jobs:
echo "Creating $subdomain.trez.wtf..." echo "Creating $subdomain.trez.wtf..."
flarectl dns create --zone "trez.wtf" --name "${subdomain}" --type=CNAME --content "trez.wtf" --proxy true flarectl dns create --zone "trez.wtf" --name "${subdomain}" --type=CNAME --content "trez.wtf" --proxy true
done 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: regenerate-readme:
name: Update README name: Update README
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -203,6 +231,14 @@ jobs:
echo "Merging PR..." 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') 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} 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: ansible-config-docker-compose-deploy:
name: Deploy via Ansible & Docker Compose name: Deploy via Ansible & Docker Compose
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -245,7 +281,7 @@ jobs:
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' 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.' notification_message: 'Deployment completed successfully.'
- name: Generate .env file for deployment - name: Generate .env file for deployment
run: | run: |
@@ -264,5 +300,5 @@ jobs:
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' 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.' notification_message: 'Deployment completed successfully.'
+1
View File
@@ -99,6 +99,7 @@
| plausible | ghcr.io/plausible/community-edition:v2.1.0 | | plausible | ghcr.io/plausible/community-edition:v2.1.0 |
| plausible_db | postgres:16-alpine | | plausible_db | postgres:16-alpine |
| plausible_events_db | clickhouse/clickhouse-server:24.3.3.102-alpine | | plausible_events_db | clickhouse/clickhouse-server:24.3.3.102-alpine |
| portainer | portainer/portainer-ce:alpine-sts |
| postal-smtp | ghcr.io/postalserver/postal:latest | | postal-smtp | ghcr.io/postalserver/postal:latest |
| postal-web | ghcr.io/postalserver/postal:latest | | postal-web | ghcr.io/postalserver/postal:latest |
| postal-worker | ghcr.io/postalserver/postal:latest | | postal-worker | ghcr.io/postalserver/postal:latest |
+49 -44
View File
@@ -40,7 +40,7 @@ services:
adguard: adguard:
container_name: adguard container_name: adguard
environment: environment:
TZ: America/New_York TZ: ${TZ}
hostname: Rinoa hostname: Rinoa
image: adguard/adguardhome:latest image: adguard/adguardhome:latest
labels: labels:
@@ -289,10 +289,10 @@ services:
bazarr: bazarr:
container_name: bazarr container_name: bazarr
environment: environment:
- PGID=1000 PGID: ${PGID}
- PUID=1000 PUID: ${PUID}
- TZ=America/New_York TZ: ${TZ}
- DOCKER_MODS=ghcr.io/gilbn/theme.park:bazarr DOCKER_MODS: ghcr.io/gilbn/theme.park:bazarr
hostname: Rinoa hostname: Rinoa
image: lscr.io/linuxserver/bazarr:latest image: lscr.io/linuxserver/bazarr:latest
labels: labels:
@@ -1624,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 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 container_name: grafana-alloy
environment: environment:
- DOCKER_HOST=tcp://dockerproxy:2375 DOCKER_HOST: tcp://dockerproxy:2375
image: grafana/alloy:latest image: grafana/alloy:latest
labels: labels:
homepage.group: Infrastructure/App Performance Monitoring homepage.group: Infrastructure/App Performance Monitoring
@@ -2868,8 +2868,8 @@ services:
lidarr: lidarr:
container_name: lidarr container_name: lidarr
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:lidarr DOCKER_MODS: ghcr.io/gilbn/theme.park:lidarr
hostname: Rinoa hostname: Rinoa
@@ -3271,7 +3271,17 @@ services:
create_host_path: true create_host_path: true
mongodb: mongodb:
container_name: mongodb container_name: mongodb
image: mongo:7.0 environment:
MONGODB_ADVERTISED_HOSTNAME: mongodb
MONGODB_ENABLE_DIRECTORY_PER_DB: true
MONGODB_SYSTEM_LOG_VERBOSITY: 1
MONGODB_ROOT_USER: ${MONGO_INITDB_ROOT_USERNAME}
MONGODB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
ALLOW_EMPTY_PASSWORD: yes
MONGODB_REPLICA_SET_MODE: primary
MONGODB_REPLICA_SET_NAME: rinoa
MONGODB_REPLICA_SET_KEY:
image: bitnami/mongodb:7.0
ports: ports:
- 27017:27017 - 27017:27017
restart: unless-stopped restart: unless-stopped
@@ -3582,9 +3592,9 @@ services:
required: true required: true
restart: true restart: true
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: ${TZ}
LOG_LEVEL: debug LOG_LEVEL: debug
hostname: Rinoa hostname: Rinoa
image: lscr.io/linuxserver/nextcloud:latest image: lscr.io/linuxserver/nextcloud:latest
@@ -3631,8 +3641,6 @@ services:
type: bind type: bind
ollama: ollama:
container_name: ollama container_name: ollama
extra_hosts:
- host.docker.internal:host-gateway
image: ollama/ollama image: ollama/ollama
networks: networks:
default: null default: null
@@ -3650,8 +3658,8 @@ services:
ombi: ombi:
container_name: ombi container_name: ombi
environment: environment:
PGID: "1000" PGID: ${PGID}
PUID: "1000" PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
hostname: Rinoa hostname: Rinoa
image: lscr.io/linuxserver/ombi:latest image: lscr.io/linuxserver/ombi:latest
@@ -3875,6 +3883,7 @@ services:
- ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro - ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro - ${DOCKER_VOLUME_CONFIG}/plausible/clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
portainer: portainer:
command: -H tcp://dockerproxy:2375
container_name: portainer container_name: portainer
depends_on: depends_on:
docker-socket-proxy: docker-socket-proxy:
@@ -3883,13 +3892,13 @@ services:
environment: environment:
DOCKER_HOST: tcp://dockerproxy:2375 DOCKER_HOST: tcp://dockerproxy:2375
expose: expose:
- 8000 - 9000
- 9443 - 9443
image: portainer/portainer-ce:alpine-sts image: portainer/portainer-ce:alpine-sts
labels: labels:
swag: enable swag: enable
swag_proto: http swag_proto: http
swag_port: 8000 swag_port: 9000
swag_url: portainer.${MY_TLD} swag_url: portainer.${MY_TLD}
swag.uptime-kuma.enabled: true swag.uptime-kuma.enabled: true
swag.uptime-kuma.monitor.url: https://portainer.${MY_TLD} swag.uptime-kuma.monitor.url: https://portainer.${MY_TLD}
@@ -3970,8 +3979,8 @@ services:
prowlarr: prowlarr:
container_name: prowlarr container_name: prowlarr
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr
TP_DOMAIN: trez.wtf\/themepark TP_DOMAIN: trez.wtf\/themepark
@@ -4072,9 +4081,9 @@ services:
radarr: radarr:
container_name: radarr container_name: radarr
environment: environment:
PGID: "1000" PGID: ${PGID}
PUID: "1000" PUID: ${PUID}
TZ: America/New_York TZ: ${TZ}
hostname: Rinoa hostname: Rinoa
image: lscr.io/linuxserver/radarr:latest image: lscr.io/linuxserver/radarr:latest
labels: labels:
@@ -4185,8 +4194,8 @@ services:
readarr: readarr:
container_name: readarr container_name: readarr
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
DOCKER_MODS: ghcr.io/gilbn/theme.park:readnarr DOCKER_MODS: ghcr.io/gilbn/theme.park:readnarr
hostname: Rinoa hostname: Rinoa
@@ -4399,15 +4408,13 @@ services:
LOG_LEVEL: DEBUG LOG_LEVEL: DEBUG
OLLAMA_URL: http://ollama:11434 OLLAMA_URL: http://ollama:11434
OLLAMA_MODEL: phi3 OLLAMA_MODEL: phi3
MONGODB_URI: mongodb://host.docker.internal:27017,host.docker.internal:27018,host.docker.internal:27019/scrapper MONGODB_URI: mongodb://mongodb:27017/scrapper
SECRET_KEY: ${SCRAPERR_SECRET_KEY} SECRET_KEY: ${SCRAPERR_SECRET_KEY}
ALGORITHM: HS256 ALGORITHM: HS256
ACCESS_TOKEN_EXPIRE_MINUTES: 600 ACCESS_TOKEN_EXPIRE_MINUTES: 600
DOCKER_HOST: tcp://dockerproxy:2375 DOCKER_HOST: tcp://dockerproxy:2375
expose: expose:
- 8000 - 8000
extra_hosts:
- host.docker.internal:host-gateway
image: jpyles0524/scraperr_api:latest image: jpyles0524/scraperr_api:latest
labels: labels:
swag: enable swag: enable
@@ -4647,9 +4654,9 @@ services:
sonarr: sonarr:
container_name: sonarr container_name: sonarr
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: ${TZ}
DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr DOCKER_MODS: ghcr.io/gilbn/theme.park:sonarr
hostname: Rinoa hostname: Rinoa
image: lscr.io/linuxserver/sonarr:latest image: lscr.io/linuxserver/sonarr:latest
@@ -4779,7 +4786,7 @@ services:
homepage.group: Downloaders homepage.group: Downloaders
homepage.description: Modern client-server application for the Soulseek file-sharing network. homepage.description: Modern client-server application for the Soulseek file-sharing network.
homepage.href: https://slsk.${MY_TLD} homepage.href: https://slsk.${MY_TLD}
homepage.icon: /icons/slskd.png homepage.icon: slskd.svg
swag: enable swag: enable
swag_proto: http swag_proto: http
swag_url: slsk.${MY_TLD} swag_url: slsk.${MY_TLD}
@@ -6353,8 +6360,8 @@ services:
uptimekuma: uptimekuma:
container_name: uptimekuma container_name: uptimekuma
environment: environment:
PGID: 1000 PGID: ${PGID}
PUID: 1000 PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
UPTIME_KUMA_USERNAME: ${UPTIME_KUMA_USERNAME} UPTIME_KUMA_USERNAME: ${UPTIME_KUMA_USERNAME}
UPTIME_KUMA_PASSWORD: ${UPTIME_KUMA_PASSWORD} UPTIME_KUMA_PASSWORD: ${UPTIME_KUMA_PASSWORD}
@@ -6660,7 +6667,7 @@ services:
wazuh.indexer: wazuh.indexer:
container_name: wazuh.indexer container_name: wazuh.indexer
environment: environment:
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
hostname: wazuh.indexer hostname: wazuh.indexer
image: wazuh/wazuh-indexer:${WAZUH_VERSION} image: wazuh/wazuh-indexer:${WAZUH_VERSION}
networks: networks:
@@ -6876,19 +6883,17 @@ services:
your_spotify: your_spotify:
container_name: your_spotify container_name: your_spotify
environment: environment:
PUID: 1000 PUID: ${PUID}
PGID: 1000 PGID: ${PGID}
TZ: ${TZ} TZ: ${TZ}
APP_URL: https://myspotify.${MY_TLD} APP_URL: https://myspotify.${MY_TLD}
SPOTIFY_PUBLIC: ${YOUR_SPOTIFY_ID} SPOTIFY_PUBLIC: ${YOUR_SPOTIFY_ID}
SPOTIFY_SECRET: ${YOUR_SPOTIFY_SECRET} SPOTIFY_SECRET: ${YOUR_SPOTIFY_SECRET}
CORS: all CORS: all
MONGO_ENDPOINT: mongodb://host.docker.internal:27017,host.docker.internal:27018,host.docker.internal:27019/your_spotify MONGO_ENDPOINT: mongodb://mongodb:27017/your_spotify
LOG_LEVEL: debug LOG_LEVEL: debug
expose: expose:
- 8080 - 8080
extra_hosts:
- host.docker.internal:host-gateway
image: lscr.io/linuxserver/your_spotify:latest image: lscr.io/linuxserver/your_spotify:latest
labels: labels:
homepage.group: Media Library homepage.group: Media Library
@@ -6910,8 +6915,8 @@ services:
youtubedl: youtubedl:
container_name: youtubedl container_name: youtubedl
environment: environment:
PGID: "1000" PGID: ${PGID}
PUID: "1000" PUID: ${PUID}
TZ: America/New_York TZ: America/New_York
YDL_CONFIG_PATH: /youtube-dl/config.yml YDL_CONFIG_PATH: /youtube-dl/config.yml
YDL_DEBUG: "false" YDL_DEBUG: "false"
@@ -7416,9 +7421,9 @@ volumes:
mastodon-pg-db: mastodon-pg-db:
name: mastodon-pg-db name: mastodon-pg-db
mongodb_config: mongodb_config:
name: mongo1_config name: mongodb_config
mongodb_data: mongodb_data:
name: mongo1_data name: mongodb_data
n8n-data: n8n-data:
name: n8n-data name: n8n-data
netbird-mgmt: netbird-mgmt: