This commit is contained in:
Vladan Popovic 2024-09-30 02:22:31 +02:00
parent 03bc7eff44
commit cdbe346697
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[registries.search]
registries = ['quay.io', 'ghcr.io', 'registry.fedoraproject.org', 'registry.centos.org', 'docker.io']

View file

@ -0,0 +1,4 @@
[storage]
driver = "overlay"
runroot = "/run/user/1000"
graphroot = "/home/vladan/.local/share/containers/storage"

View file

@ -0,0 +1,18 @@
[Unit]
Description=Forgejo: Beyond coding. We forge.
After=network-online.target
Wants=network-online.target
[Service]
TimeoutStartSec=60
[Container]
ContainerName=forgejo
Image=codeberg.org/forgejo/forgejo:1.21.5-0
Volume=/tmp/forgejo:/data:z
PublishPort=3000:3000
PublishPort=3022:22
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target