diff options
author | Earl Warren <contact@earl-warren.org> | 2023-10-06 16:56:24 +0200 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2023-10-06 16:56:24 +0200 |
commit | b3f32e59aff9c84d810783cadea45c48810b25e6 (patch) | |
tree | 27190deac5c619211fb253d006ea57c853a754d8 /examples | |
parent | Merge pull request 'examples/docker-compose: network: host is required' (#90)... (diff) | |
download | forgejo-runner-b3f32e59aff9c84d810783cadea45c48810b25e6.tar.xz forgejo-runner-b3f32e59aff9c84d810783cadea45c48810b25e6.zip |
examples/docker-compose: add Quick Start
Diffstat (limited to 'examples')
-rw-r--r-- | examples/docker-compose/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/docker-compose/README.md b/examples/docker-compose/README.md index a9c3dfe..56b4e1e 100644 --- a/examples/docker-compose/README.md +++ b/examples/docker-compose/README.md @@ -6,6 +6,17 @@ launched within a container (using [dind](https://hub.docker.com/_/docker/tags?name=dind)) and will be used by the `Forgejo runner` to execute the workflows. +### Quick start + +```sh +rm -fr /srv/runner-data /srv/forgejo-data +secret=$(openssl rand -hex 20) +sed -i -e "s/{SHARED_SECRET}/$secret/" compose-forgejo-and-runner.yml +docker compose -f compose-forgejo-and-runner.yml up -d +docker compose -f compose-forgejo-and-runner.yml -f compose-demo-workflow.yml up demo-workflow +firefox http://0.0.0.0:8080/root/test/actions/runs/1 # login root, password {ROOT_PASSWORD} +``` + ### Running Create a shared secret with: |