5 Commits

Author SHA1 Message Date
vbevdev ec2a17efd9 Merge pull request 'Experiment/runner' (#1) from experiment/runner into main
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Reviewed-on: #1
2026-06-16 02:46:34 +00:00
vbevdev 807f08734a fix deploy workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
2026-06-16 05:44:36 +03:00
vbevdev 79d6e9e1b3 deploy workflow draft
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
2026-06-16 05:38:24 +03:00
vbevdev 1463b4b78f up runner after git healthy 2026-06-16 05:37:54 +03:00
Бевзенко Владимир Андреевич 85bd65ab59 runner
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
2026-06-16 03:31:47 +03:00
4 changed files with 64 additions and 97 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
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 }}."
+19
View File
@@ -0,0 +1,19 @@
name: Deploy
run-name: Deploy
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Execute Remote SSH Commands
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PASSWORD }}
port: 22
script: |
cd /home/vbevdev/test
touch hello-there.txt
-95
View File
@@ -1,95 +0,0 @@
services:
prx:
image: 'jc21/nginx-proxy-manager:2.15.1'
restart: unless-stopped
environment:
TZ: "Europe/Moscow"
ports:
- '80:80'
- '443:443'
volumes:
- ./data/nginx-proxy-manager/data:/data
- ./data/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
healthcheck:
test: ["CMD", "/usr/bin/check-health"]
interval: 60s
timeout: 3s
pwd:
image: 'vaultwarden/server:latest'
restart: unless-stopped
volumes:
- ./data/vaultwarden:/data
secrets:
- vaultwarden_admin_token
environment:
ADMIN_TOKEN_FILE: /run/secrets/vaultwarden_admin_token
mon:
image: 'henrygd/beszel'
restart: unless-stopped
volumes:
- ./data/beszel/hub:/beszel_data
- ./data/beszel/socket:/beszel_socket
healthcheck:
test: ['CMD', '/beszel', 'health', '--url', 'http://localhost:8090']
start_period: 5s
interval: 120s
mon-agent:
image: 'henrygd/beszel-agent'
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data/beszel/agent:/var/lib/beszel-agent
- ./data/beszel/socket:/beszel_socket
secrets:
- beszel_agent_key
- beszel_agent_token
environment:
LISTEN: /beszel_socket/beszel.sock
KEY_FILE: /run/secrets/beszel_agent_key
TOKEN_FILE: /run/secrets/beszel_agent_token
HUB_URL: ${BESZEL_HUB_URL}
healthcheck:
test: ['CMD', '/agent', 'health']
interval: 120s
cld:
image: 'ghcr.io/nextcloud-releases/all-in-one:latest'
init: true
restart: unless-stopped
# networks: ["default"]
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
APACHE_PORT: 11000
APACHE_ADDITIONAL_NETWORK: vbevdev
APACHE_IP_BINDING: 0.0.0.0
SKIP_DOMAIN_VALIDATION: true
ports:
- '8080:8080'
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
driver: local
driver_opts:
type: none
o: bind
device: ${NEXTCLOUD_VOLUME_ABSOLUTE_PATH} # NEXTCLOUD_VOLUME_ABSOLUTE_PATH=/Users/vbevzenko/Documents/code/vbevdev/data/nextcloud
networks:
default:
name: vbevdev
secrets:
vaultwarden_admin_token:
file: secrets/vaultwarden_admin_token.txt
beszel_agent_key:
file: secrets/beszel_agent_key.txt
beszel_agent_token:
file: secrets/beszel_agent_token.txt
+26 -2
View File
@@ -73,11 +73,32 @@ services:
image: 'docker.gitea.com/gitea:1.26.2'
restart: unless-stopped
volumes:
- ./data/gitea:/data
- ./data/gitea/gitea:/data
environment:
GITEA__service__DISABLE_REGISTRATION: true
GITEA__other__SHOW_FOOTER_VERSION: false
GITEA__other__SHOW_FOOTER_POWERED_BY: false
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]
interval: 10s
timeout: 5s
retries: 3
git-runner:
image: 'gitea/act_runner:latest'
depends_on:
git:
condition: service_healthy
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${GITEA_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN_FILE: /run/secrets/gitea_runner_registration_token
volumes:
- ./data/gitea/runner/config.yaml:/config.yaml
- ./data/gitea/runner/data:/data
- /var/run/docker.sock:/var/run/docker.sock
secrets:
- gitea_runner_registration_token
networks:
default:
@@ -89,4 +110,7 @@ secrets:
beszel_agent_key:
file: secrets/beszel_agent_key.txt
beszel_agent_token:
file: secrets/beszel_agent_token.txt
file: secrets/beszel_agent_token.txt
gitea_runner_registration_token:
file: secrets/gitea_runner_registration_token.txt