Convert compose files to yaml

toml conversion stopped working, don't want to fix it
This commit is contained in:
Marko Korhonen 2024-11-04 10:27:12 +02:00
parent 9014f87dfd
commit 037967efd7
49 changed files with 904 additions and 773 deletions

View file

@ -0,0 +1,38 @@
volumes:
data: {}
runner: {}
services:
forgejo:
image: git.korhonen.cc/functionalhacker/forgejo-asciidoc
container_name: forgejo
environment:
- TZ=Europe/Helsinki
- USER_UID=1000
- USER_GID=1000
restart: unless-stopped
networks:
- postgres
- proxy
ports:
- "2882:22"
volumes:
- data:/data
- /etc/localtime:/etc/localtime:ro
runner:
image: code.forgejo.org/forgejo/runner:3.5.1
container_name: forgejo-runner
user: root:root
volumes:
- runner:/data
- ./runner.yaml:/data/config.yaml
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- SOCKFILE=/var/run/docker.sock
restart: unless-stopped
command: forgejo-runner daemon -c /data/config.yaml
networks:
postgres:
external: true
proxy:
external: true