Compare commits
9 Commits
707ec0e3d1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac5df1f92a | ||
|
|
dff9975971 | ||
|
|
24153dc367 | ||
|
|
478b70bacd | ||
|
|
fb8b11533b | ||
|
|
69f5e1efde | ||
| 08ff10f1d1 | |||
| 97ee3b122f | |||
| 71aba5cb37 |
1
.env
Normal file
1
.env
Normal file
@@ -0,0 +1 @@
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN=OVA1foeb0wf3JHjfMTZI8G9asE2OdmdduNqNJIhf
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
# Ignore everything in the volume folder
|
||||
volume/*
|
||||
volumes/*
|
||||
|
||||
# But not the .gitkeep file
|
||||
!volume/.gitkeep
|
||||
!volume/.gitkeep
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
@@ -14,19 +12,19 @@ services:
|
||||
- GITEA__database__PASSWD=A68nMCsvzyvueYwE
|
||||
- SSH_DOMAIN=git.zinomedia.de
|
||||
- ROOT_URL=https://git.zinomedia.de
|
||||
- SSH_PORT=222
|
||||
- SSH_LISTEN_PORT=22
|
||||
- SSH_PORT=222
|
||||
restart: "unless-stopped"
|
||||
volumes:
|
||||
- ./volumes/gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- gitea-mariadb
|
||||
networks:
|
||||
- web
|
||||
ports:
|
||||
- "222:22"
|
||||
|
||||
gitea-mariadb:
|
||||
image: linuxserver/mariadb:latest
|
||||
@@ -42,6 +40,28 @@ services:
|
||||
networks:
|
||||
- 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:
|
||||
web:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user