fix
This commit is contained in:
parent
5813877219
commit
95471c9aca
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.env*
|
37
compose.yml
Normal file
37
compose.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
networks:
|
||||||
|
gitea:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: gitea/gitea
|
||||||
|
container_name: gitea
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- gitea
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
ports:
|
||||||
|
- "30001:3000"
|
||||||
|
- "22001:22"
|
||||||
|
env_file: .env.local
|
||||||
|
|
||||||
|
runner:
|
||||||
|
build:
|
||||||
|
context: ./act_runner
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
container_name: runner
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./runner_data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
GITEA_INSTANCE_URL: https://git.syui.ai
|
||||||
|
GITEA_RUNNER_REGISTRATION_TOKEN: xxx
|
||||||
|
DOCKER_HOST: unix:///var/run/docker.sock
|
||||||
|
GITEA_RUNNER_NAME: open-runner
|
||||||
|
GITEA_RUNNER_LABELS: ubuntu-latest,ubuntu-22.04,archlinux
|
||||||
|
network_mode: host
|
Loading…
Reference in New Issue
Block a user