Replace with compose
This commit is contained in:
parent
8ed5786f19
commit
83f85c36dc
5 changed files with 27 additions and 56 deletions
14
README.md
14
README.md
|
@ -1,6 +1,6 @@
|
|||
# Forgejo Runner Quadlets
|
||||
# Forgejo Runner with Podman
|
||||
|
||||
My configurations for running a Forgejo Runner with root-less Podman Quadlets. This configuration enables Actions to build container images using `buildah`.
|
||||
My configurations for running a Forgejo Runner with root-less Podman Compose. This configuration enables Actions to build container images using `buildah`.
|
||||
|
||||
```mermaid
|
||||
architecture-beta
|
||||
|
@ -20,18 +20,16 @@ architecture-beta
|
|||
|
||||
## Set-up
|
||||
|
||||
|
||||
Install podman:
|
||||
Install podman and podman-compose:
|
||||
|
||||
```sh
|
||||
sudo apt-get update && sudo apt-get install -y podman
|
||||
sudo apt-get update && sudo apt-get install -y podman podman-compose
|
||||
```
|
||||
|
||||
Create the data directories (`/data`) for persisting Forgejo runner configurations and cache:
|
||||
|
||||
```sh
|
||||
sudo mkdir -p /data/.cache /data/.config
|
||||
sudo touch /data/.runner
|
||||
|
||||
sudo chown -R $UID:$UID /data
|
||||
sudo chmod -R 700 /data
|
||||
|
@ -40,7 +38,7 @@ sudo chmod -R 700 /data
|
|||
Clone this repository:
|
||||
|
||||
```sh
|
||||
git clone https://git.poire.dev/aramperes/forgejo-runner-quadlet.git
|
||||
git clone https://git.poire.dev/aramperes/forgejo-runner-podman.git
|
||||
```
|
||||
|
||||
For the first-time set-up, you will need to stop the Forgejo Runner from starting up so you can configure the token with your Forgejo server.
|
||||
|
@ -204,4 +202,4 @@ If you would like to modify the quadlet configurations, you will need to run the
|
|||
systemctl --user daemon-reload
|
||||
systemctl --user restart podman-runtime.service
|
||||
systemctl --user restart forgejo-runner.service
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue