services: build-runner: image: docker.io/gitea/runner@sha256:05e100d9c2268fb300f929cab014e9930591a2d66822454e175c1099d1464b14 platform: linux/amd64 pull_policy: never restart: unless-stopped read_only: true cpu_shares: 64 cpuset: "7" mem_limit: 512m memswap_limit: 512m cap_drop: [ALL] security_opt: [no-new-privileges:true] tmpfs: - /tmp:rw,nosuid,nodev,size=134217728 environment: HOME: /data XDG_CACHE_HOME: /data/.cache CONFIG_FILE: /config/runner.yaml GITEA_INSTANCE_URL: https://git.dcserve.ru GITEA_RUNNER_NAME: synology-cms-build GITEA_RUNNER_REGISTRATION_TOKEN_FILE: /run/secrets/registration-token volumes: - type: bind source: /volume1/docker/nodedc-cms-autodeploy/runner.yaml target: /config/runner.yaml read_only: true bind: {create_host_path: false} - type: bind source: /volume1/docker/nodedc-cms-autodeploy/data target: /data bind: {create_host_path: false} - type: bind source: /volume1/docker/nodedc-cms-autodeploy/secrets/registration-token target: /run/secrets/registration-token read_only: true bind: {create_host_path: false} - type: bind source: /var/run/docker.sock target: /var/run/docker.sock read_only: true bind: {create_host_path: false}