feat: update Guidelines
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
x-default: &default
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- &localtime /etc/localtime:/etc/localtime:ro
|
||||
- &timezone /etc/timezone:/etc/timezone:ro
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
gitea_runner:
|
||||
<<: *default
|
||||
image: gitea/act_runner:0.2.12
|
||||
environment:
|
||||
TZ: ${TZ:-UTC}
|
||||
CONFIG_FILE: /config.yaml
|
||||
GITEA_INSTANCE_URL: ${INSTANCE_URL:-http://localhost:3000}
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: ${REGISTRATION_TOKEN}
|
||||
GITEA_RUNNER_NAME: ${RUNNER_NAME:-Gitea-Runner}
|
||||
GITEA_RUNNER_LABELS: ${RUNNER_LABELS:-DockerRunner}
|
||||
volumes:
|
||||
- *localtime
|
||||
- *timezone
|
||||
- ./config.yaml:/config.yaml:ro
|
||||
- gitea_runner_data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Reference in New Issue
Block a user