Replace with compose

This commit is contained in:
Aram 🍐 2025-08-23 22:08:47 -04:00
parent 8ed5786f19
commit 83f85c36dc
5 changed files with 27 additions and 56 deletions

21
docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
services:
runtime:
container_name: podman-runtime
image: quay.io/podman/stable
command: podman system service --time=0 tcp:0.0.0.0:2375
user: 1000
devices:
- /dev/fuse:/dev/fuse
restart: always
runner:
container_name: forgejo-runner
image: data.forgejo.org/forgejo/runner:9
command: /bin/sh -c "sleep 5; forgejo-runner daemon -c .config/config.yml"
user: 1001
volumes:
- /data:/data:U
environment:
- DOCKER_HOST=tcp://podman-runtime:2375
restart: always
# Exec=/bin/sh -c "while : ; do sleep 1 ; done ;"