test runner
Some checks failed
Gitea Actions Demo 2 / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo 2 / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Gitea Actions Demo
|
name: Gitea Actions Demo 2
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
networks:
|
networks:
|
||||||
gitea:
|
gitea:
|
||||||
external: false
|
external: false
|
||||||
|
name: gitea-net
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
@@ -10,7 +11,7 @@ services:
|
|||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
- GITEA__database__DB_TYPE=postgres
|
- GITEA__database__DB_TYPE=postgres
|
||||||
- GITEA__database__HOST=db:5432
|
- GITEA__database__HOST=gitea-db:5432
|
||||||
- GITEA__database__NAME=gitea
|
- GITEA__database__NAME=gitea
|
||||||
- GITEA__database__USER=gitea
|
- GITEA__database__USER=gitea
|
||||||
- GITEA__database__PASSWD=gitea
|
- GITEA__database__PASSWD=gitea
|
||||||
@@ -29,6 +30,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: docker.io/library/postgres:14
|
image: docker.io/library/postgres:14
|
||||||
|
container_name: gitea-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=gitea
|
- POSTGRES_USER=gitea
|
||||||
@@ -41,15 +43,15 @@ services:
|
|||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: docker.io/gitea/act_runner:nightly
|
image: docker.io/gitea/act_runner:nightly
|
||||||
|
container_name: gitea-runner
|
||||||
environment:
|
environment:
|
||||||
CONFIG_FILE: /config.yaml
|
CONFIG_FILE: /config.yaml
|
||||||
GITEA_INSTANCE_URL: http://gitea:3000
|
GITEA_INSTANCE_URL: "http://192.168.1.202:3005"
|
||||||
GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3"
|
GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3"
|
||||||
GITEA_RUNNER_NAME: "services-runner"
|
GITEA_RUNNER_NAME: "services-runner"
|
||||||
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
|
GITEA_RUNNER_LABELS: "services"
|
||||||
volumes:
|
volumes:
|
||||||
- ./runner/config.yaml:/config.yaml
|
- ./runner/config.yaml:/config.yaml
|
||||||
- ./runner/data:/data
|
- ./runner/data:/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
networks:
|
|
||||||
- gitea
|
|
||||||
Reference in New Issue
Block a user