summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2023-12-21 14:55:23 +0100
committerEarl Warren <contact@earl-warren.org>2023-12-21 15:27:27 +0100
commitba9db84d1ae5a105c3644f6fb2c4c2d4106e1ce5 (patch)
tree84319b73727053462a1261681d82ec39f08a864f /README.md
parentMerge pull request 'upgrade docker-compose example Forgejo 1.21 & Forgejo run... (diff)
downloadforgejo-runner-ba9db84d1ae5a105c3644f6fb2c4c2d4106e1ce5.tar.xz
forgejo-runner-ba9db84d1ae5a105c3644f6fb2c4c2d4106e1ce5.zip
use forgejo-url for brievety
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 443e903..fe23668 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ A Forgejo instance is launched with:
```shell
cd setup-forgejo
./forgejo.sh setup
-firefox http://$(cat forgejo-ip):3000
+firefox $(cat forgejo-url)
```
The user is `root` with password `admin1234`. The runner is registered with:
@@ -59,7 +59,7 @@ The user is `root` with password `admin1234`. The runner is registered with:
```
cd setup-forgejo
docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token
-../runner/forgejo-runner register --no-interactive --instance "http://$(cat forgejo-ip):3000/" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,self-hosted:host://-self-hosted,lxc:lxc://debian:bullseye
+../runner/forgejo-runner register --no-interactive --instance "$(cat forgejo-url)" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,self-hosted:host://-self-hosted,lxc:lxc://debian:bullseye
```
And launched with: