version: '3.8' services: app: image: 'code.forgejo.org/forgejo/runner:8.0.1' environment: - DOCKER_HOST=tcp://socket-proxy:2375 configs: - source: runner_conf target: /config.yml - source: entrypoint target: /custom-entrypoint.sh mode: 0555 volumes: - "data:/data" deploy: labels: - "coop-cloud.${STACK_NAME}.version=2.0.0+8.0.1" networks: - internal ports: - "44847:44847" entrypoint: /custom-entrypoint.sh socket-proxy: image: lscr.io/linuxserver/socket-proxy:3.2.3 environment: - PROXY_READ_TIMEOUT=5000 - ALLOW_START=1 - ALLOW_STOP=1 - ALLOW_RESTARTS=1 - AUTH=1 - BUILD=1 - COMMIT=1 - CONFIGS=1 - CONTAINERS=1 - DISABLE_IPV6=0 - DISTRIBUTION=0 - EVENTS=1 - EXEC=1 - IMAGES=1 - INFO=1 - NETWORKS=1 - NODES=1 - PING=1 - POST=1 - PLUGINS=1 - SECRETS=1 - SERVICES=1 - SESSION=1 - SWARM=1 - SYSTEM=1 - TASKS=1 - VERSION=1 - VOLUMES=1 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - internal ports: - "2375:2375" volumes: data: networks: internal: configs: runner_conf: name: ${STACK_NAME}_runner_${RUNNER_CONF_VERSION} file: config.yml.tmpl template_driver: golang entrypoint: name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION} file: entrypoint.sh.tmpl template_driver: golang