# Runner using gitea external IP for fetch

**URL:** <https://forum.gitea.com/t/runner-using-gitea-external-ip-for-fetch/11033>\
**Category:** Install/Maintain/Configure\
**Created:** [March 27, 2025, 5:59pm UTC](https://forum.gitea.com/t/runner-using-gitea-external-ip-for-fetch/11033 "2025-03-27T17:59:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dauntlessone](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dauntlessone](https://forum.gitea.com/u/dauntlessone)\
**Post date:** [March 27, 2025, 5:59pm UTC](https://forum.gitea.com/t/runner-using-gitea-external-ip-for-fetch/11033/1 "2025-03-27T17:59:38Z")

</div>

I’ve been scratching my head here. I am not sure where to make the change in my stack. I am running Gitea and Act Runner in the same docker compose stack. My external DNS is showing that my Public IP is continually hitting the public url of my Gitea instance. The interval of the POST from my public IP to the target URL being every 2 seconds tells me that it is tied to the fetch\_interval setting within the config.yaml file. The path also seems to support that (see screenshot below).

However in my compose stack I set the internal IP, as well as using the container name for the gitea target that the runner should be working with, not the public URL. Is there a value within the compose or config file that I am missing or setting incorrectly? Rather have it fetch completely internally between the gitea and runner rather than the runner going to the public url. The runner is indeed working, but is not fetching via the internal network as desired.

Network Analytics screenshot

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/2/27627a02318921c7e8fff4cbd4bc709358244f4f.png)

gitea-act-runner:  
image: [docker.io/gitea/act\_runner:latest](http://docker.io/gitea/act_runner:latest)  
container\_name: gitea-act-runner  
environment:  
CONFIG\_FILE: /config.yaml  
#GITEA\_INSTANCE\_URL: \<gitea\_local\_ip\>:3030  
GITEA\_INSTANCE\_URL: [http://gitea:3030](http://gitea:3030)  
GITEA\_RUNNER\_REGISTRATION\_TOKEN: hidden  
GITEA\_RUNNER\_NAME: “Act Runner”  
GITEA\_RUNNER\_LABELS: “ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04”  
volumes:  
- CHANGE\_TO\_COMPOSE\_DATA\_PATH/containers/gitea/gitea-runners/act-runner/config.yaml:/config.yaml  
- CHANGE\_TO\_COMPOSE\_DATA\_PATH/containers/gitea/gitea-runners/act-runner/data:/data  
- /var/run/docker.sock:/var/run/docker.sock  
restart: unless-stopped
