Compare commits

...

9 Commits

Author SHA1 Message Date
zino
ac5df1f92a Mark dirs as safe 2025-11-20 15:24:30 +01:00
zino
dff9975971 Change paths 2025-11-20 15:09:05 +01:00
zino
24153dc367 Adjust compose 2025-11-20 15:07:44 +01:00
zino
478b70bacd Add runner label 2025-11-20 14:57:40 +01:00
zino
fb8b11533b Add runner paths 2025-11-20 14:53:02 +01:00
zino
69f5e1efde Add runner 2025-11-20 14:39:11 +01:00
08ff10f1d1 modified 2023-11-28 17:28:00 +01:00
97ee3b122f modified conflict 2023-11-28 17:23:27 +01:00
71aba5cb37 modified server 2023-11-28 17:18:17 +01:00
3 changed files with 28 additions and 7 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
GITEA_RUNNER_REGISTRATION_TOKEN=OVA1foeb0wf3JHjfMTZI8G9asE2OdmdduNqNJIhf

2
.gitignore vendored
View File

@@ -1,5 +1,5 @@
# Ignore everything in the volume folder # Ignore everything in the volume folder
volume/* volumes/*
# But not the .gitkeep file # But not the .gitkeep file
!volume/.gitkeep !volume/.gitkeep

View File

@@ -1,5 +1,3 @@
version: "3.8"
services: services:
gitea: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
@@ -14,19 +12,19 @@ services:
- GITEA__database__PASSWD=A68nMCsvzyvueYwE - GITEA__database__PASSWD=A68nMCsvzyvueYwE
- SSH_DOMAIN=git.zinomedia.de - SSH_DOMAIN=git.zinomedia.de
- ROOT_URL=https://git.zinomedia.de - ROOT_URL=https://git.zinomedia.de
- SSH_PORT=222
- SSH_LISTEN_PORT=22 - SSH_LISTEN_PORT=22
- SSH_PORT=222
restart: "unless-stopped" restart: "unless-stopped"
volumes: volumes:
- ./volumes/gitea-data:/data - ./volumes/gitea-data:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports:
- "222:22"
depends_on: depends_on:
- gitea-mariadb - gitea-mariadb
networks: networks:
- web - web
ports:
- "222:22"
gitea-mariadb: gitea-mariadb:
image: linuxserver/mariadb:latest image: linuxserver/mariadb:latest
@@ -42,6 +40,28 @@ services:
networks: networks:
- web - web
gitea-act-runner:
image: gitea/act_runner:latest
container_name: gitea-act-runner
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=https://git.zinomedia.de
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
- GITEA_RUNNER_NAME=armos-docker-runner
- GITEA_RUNNER_LABELS=linux,amd64,self-hosted,docker
- GIT_CONFIG_COUNT=1
- GIT_CONFIG_KEY_0=safe.directory
- GIT_CONFIG_VALUE_0=*
volumes:
- ./volumes/act_runner:/data
- /var/run/docker.sock:/var/run/docker.sock
- /opt/docker/simracing-telemetry-hub:/opt/docker/simracing-telemetry-hub
- /home/zino/.ssh:/root/.ssh:ro
depends_on:
- gitea
networks:
- web
networks: networks:
web: web:
external: true external: true