initial commit

This commit is contained in:
2026-04-07 15:46:18 -04:00
commit bc1b1d1232
43 changed files with 1627 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
data/
runner-data/
.env
+43
View File
@@ -0,0 +1,43 @@
name: gitea
networks:
gitea:
external: false
shared:
external: true
services:
server:
image: docker.gitea.com/gitea:latest
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
networks:
- gitea
- shared
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "222:22"
runner:
image: gitea/act_runner:latest
container_name: gitea_runner
restart: unless-stopped
depends_on:
- server
networks:
- gitea
environment:
- GITEA_INSTANCE_URL=https://git.timothykim.net
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
- CONFIG_FILE=/config.yaml
volumes:
- ./runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
- ./runner-config.yaml:/config.yaml:ro
+25
View File
@@ -0,0 +1,25 @@
log:
level: info
runner:
file: .runner
capacity: 1
env_file: .env
timeout: 3h
insecure: false
cache:
enabled: true
dir: ""
container:
network: "gitea_gitea"
extra_hosts:
- "git.timothykim.net:host-gateway"
privileged: false
valid_volumes:
- "**"
host:
workdir_parent: ""