Replace with compose
This commit is contained in:
parent
8ed5786f19
commit
83f85c36dc
5 changed files with 27 additions and 56 deletions
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal 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 ;"
|
||||
Loading…
Add table
Add a link
Reference in a new issue