fix docker url for making connection with gitea.

This commit is contained in:
2026-08-23 15:20:14 +03:30
parent 0e8e3a4a27
commit 2b2cca8361
2 changed files with 32 additions and 8 deletions

View File

@@ -12,8 +12,13 @@
# STAGING_HTTP_PORT host port for nginx (default 8088)
# CLONE_HOST git clone host when runner = Gitea host → 127.0.0.1:3000
#
# Same Windows PC runs Gitea + runner + deploy: use 127.0.0.1:3000 for REGISTRY_HOST and CLONE_HOST.
# PUBLIC_BASE_URL stays the public IP:8088 so users open the app from the network.
# Same Windows PC runs Gitea + runner + deploy:
# CLONE_HOST → 127.0.0.1:3000 (git runs on Windows host)
# REGISTRY_HOST → host.docker.internal:3000 (docker commands run inside Docker Desktop VM)
# Gitea app.ini ROOT_URL → http://host.docker.internal:3000/
# PUBLIC_BASE_URL → public IP:8088 (browser URL for staging app)
#
# Add host.docker.internal:3000 to Docker Desktop insecure-registries.
#
# Repository Secrets (Settings → Actions → Secrets):
# REGISTRY_USERNAME Gitea username for docker login