From 4f6d3da9c9f311677189a769e8b833a2b86204ac Mon Sep 17 00:00:00 2001 From: geezo Date: Thu, 27 Mar 2025 03:44:49 +0000 Subject: [PATCH] example workflow --- .gitea/workflows/example.yaml | 19 +++++++++++++++++++ .gitignore | 4 +++- Perplexica | 1 + gitea/config.yaml | 0 gitea/docker-compose.yml | 4 ++-- gitea/gitea_worker/config.yaml | 0 gitea/gitea_worker/docker-compose.yml | 23 +++++++++++++++++++++++ glance/config/glance.yml | 3 +-- local_deep_research/research_history.db | Bin 0 -> 24576 bytes n8n/docker-compose.yml | 2 ++ newt/docker-compose.yml | 4 +++- 11 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 .gitea/workflows/example.yaml create mode 160000 Perplexica create mode 100644 gitea/config.yaml create mode 100644 gitea/gitea_worker/config.yaml create mode 100644 gitea/gitea_worker/docker-compose.yml create mode 100644 local_deep_research/research_history.db diff --git a/.gitea/workflows/example.yaml b/.gitea/workflows/example.yaml new file mode 100644 index 0000000..01e6d2c --- /dev/null +++ b/.gitea/workflows/example.yaml @@ -0,0 +1,19 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push, workflow_dispatch] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/.gitignore b/.gitignore index a044d30..f49c30d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,6 @@ beszel_data/ gaxinto@theodorio.com.json habits.db -certificates/ \ No newline at end of file +certificates/ + +.venv \ No newline at end of file diff --git a/Perplexica b/Perplexica new file mode 160000 index 0000000..2728646 --- /dev/null +++ b/Perplexica @@ -0,0 +1 @@ +Subproject commit 27286465a36633f9f70012c8e2fb1fe617fe890c diff --git a/gitea/config.yaml b/gitea/config.yaml new file mode 100644 index 0000000..e69de29 diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index fe929a0..84ee6d9 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -28,7 +28,6 @@ services: - "222:22" depends_on: - postgres - postgres: image: postgres:14 container_name: gitea-portgress @@ -44,4 +43,5 @@ services: volumes: gitea_data: - postgres_data: \ No newline at end of file + postgres_data: + diff --git a/gitea/gitea_worker/config.yaml b/gitea/gitea_worker/config.yaml new file mode 100644 index 0000000..e69de29 diff --git a/gitea/gitea_worker/docker-compose.yml b/gitea/gitea_worker/docker-compose.yml new file mode 100644 index 0000000..3baae13 --- /dev/null +++ b/gitea/gitea_worker/docker-compose.yml @@ -0,0 +1,23 @@ + + +networks: + gitea_gitea: + external: true + +services: + runner: + image: docker.io/gitea/act_runner:nightly + container_name: gitea_worker + environment: + CONFIG_FILE: /config.yaml + GITEA_INSTANCE_URL: "http://gitea:3000" + GITEA_RUNNER_REGISTRATION_TOKEN: "S0Fx7syTpXWp11E0z2FZwlc0kFM4C7z3CF4NOjqr" + GITEA_RUNNER_NAME: "docker_runner" + networks: + - gitea_gitea + volumes: + - ./config.yaml:/config.yaml + - ./data:/data + - /var/run/docker.sock:/var/run/docker.sock + + diff --git a/glance/config/glance.yml b/glance/config/glance.yml index f15b0c8..dd82f8f 100644 --- a/glance/config/glance.yml +++ b/glance/config/glance.yml @@ -13,8 +13,7 @@ pages: widgets: - type: search autofocus: false - search-engine:https://searxng.geezo.site/search?q={QUERY} - + search-engine: https://searxng.geezo.site/search?q={QUERY} - type: docker-containers hide-by-default: true diff --git a/local_deep_research/research_history.db b/local_deep_research/research_history.db new file mode 100644 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ju+S_^NBFn2Is}`pZ@Ms6O*#2;A5>Ug*8?g#w%-}vN zYp1)>xU!85e^ej7=?Zf z3K-O|>yGuP<TOK&bP0kW2CB@VQ7TZzAKp!uf)b2J|70!GT=D4 z5Nsc-9p`SEKxltn*gBa3U|yPi9<4-=u}tM4iG}GVEK6}orFP1s7dI;@_xqLP#~Oz7 zc2yz_J2s6c4D?#AOU_;DQ_P!V?Z73FN)l(F^z{X7Ji9%e_Mc17HVd6-!VV*vND>Fj zSd#Rf#SGcLA?vat6f-Mkq~RpBjo{H>;RO7`nJh07QqyHaCI-Ze4;D^9JI>q1moJ=v zWw?Nm<$k!NOK-&C1Pp_kP49{SqYfuv2b906p%4K5s>8`=Z?S1OIVgVa50spUc-IN` zV+BDV!bx1V7=j3!Ak)tcCogwd)<5~lxK7YxkZ2Xd26c<78-&zRM5|akF482D^5>oW z#FpV=wSN>ppJ){uhRbt>%*sX^tztXy)`~_ZVP~SegXf`gCal?pa@U|C;}9Lvqs>VT$*Lx#`~t7osP(FBG+odOWyuy+MXkGf}-+j zw**N?bWT%bL*&PvTY?N$&$aVvgw%q>HX@rpU5$`R)j3`_44q6l&$dR$Xor$d)yaK> z^Q#dumf>C`sqaqDsB46bVYvND&xNO|AYm>V5-}AgY@Ru z@P6F_tyu!6YtYX|Zji=JTX+_=bNY2l#x#OPr;8?OFWO;0lG=CGoZNLuZI+|n*!<}~uPtagg(IjIBZekS48^K^p`kbT5FEh-dNdN!< literal 0 HcmV?d00001 diff --git a/n8n/docker-compose.yml b/n8n/docker-compose.yml index 5fdafcc..7dc8013 100644 --- a/n8n/docker-compose.yml +++ b/n8n/docker-compose.yml @@ -36,6 +36,8 @@ services: - DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER} - DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD} - N8N_SECURE_COOKIE=false + - N8N_EDITOR_BASE_URL="http://theocorp:1012" + - WEBHOOK_URL="http://theocorp:1012" ports: - 1012:5678 links: diff --git a/newt/docker-compose.yml b/newt/docker-compose.yml index 3d745d5..a2dd661 100644 --- a/newt/docker-compose.yml +++ b/newt/docker-compose.yml @@ -15,7 +15,7 @@ services: - nextcloud_default - yams_default - immich_default - - vaultwarden_default + - perplexica_perplexica-network extra_hosts: - "pangolin.geezo.site:44.210.184.15" @@ -36,4 +36,6 @@ networks: immich_default: external: true vaultwarden_default: + external: true + perplexica_perplexica-network: external: true \ No newline at end of file