1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-09-24 11:53:27 +00:00
parent d2aef6bfd6
commit 047058997b
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CONTAINER_NAME="act_runner"
DATA_PATH="./data"
GITEA_INSTANCE_URL="http://1.2.3.4:567"
RUNNER_REGISTRATION_TOKEN="xxx"
RUNNER_NAME="xxx"
RUNNER_LABELS="xxx"

View File

@@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: http://1.2.3.4:567
edit: true
envKey: GITEA_INSTANCE_URL
labelEn: Gitea instance URL
labelZh: Gitea 实例 URL
required: true
rule: paramExtUrl
type: text
- default: ''
edit: true
envKey: RUNNER_REGISTRATION_TOKEN
labelEn: Gitea runner REGISTRATION TOKEN
labelZh: Gitea runner REGISTRATION TOKEN
required: true
type: text
- default: ''
edit: true
envKey: RUNNER_NAME
labelEn: Gitea runner name
labelZh: Gitea runner name
required: true
type: text
- default: ''
edit: true
envKey: RUNNER_LABELS
labelEn: Gitea runner labels
labelZh: Gitea runner labels
required: true
type: text

View File

@@ -0,0 +1,23 @@
services:
act_runner:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
#- ${DATA_PATH}/config.yaml:/config.yaml # 可选配置
- ${DATA_PATH}/data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
#- CONFIG_FILE=/config.yaml
- GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_REGISTRATION_TOKEN}
- GITEA_RUNNER_NAME=${RUNNER_NAME}
- GITEA_RUNNER_LABELS=${RUNNER_LABELS}
image: gitea/act_runner:0.2.11
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true