--- services: app: image: data.forgejo.org/forgejo/runner:4.0.0 networks: - internal environment: DOCKER_HOST: tcp://dind:2375 deploy: restart_policy: condition: on-failure labels: - "coop-cloud.${STACK_NAME}.version=" entrypoint: /custom-entrypoint.sh configs: - source: entrypoint target: /custom-entrypoint.sh mode: 0555 volumes: - data:/data secrets: - act_runner_instance - act_runner_token dind: image: docker:dind privileged: 'true' command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false'] deploy: restart_policy: condition: on-failure networks: - internal networks: internal: volumes: data: secrets: act_runner_instance: external: true name: ${STACK_NAME}_act_runner_instance_${SECRET_ACT_RUNNER_INSTANCE_VERSION} act_runner_token: external: true name: ${STACK_NAME}_act_runner_token_${SECRET_ACT_RUNNER_TOKEN_VERSION} configs: entrypoint: name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION} file: entrypoint.sh