podman
This commit is contained in:
parent
03bc7eff44
commit
cdbe346697
3 changed files with 24 additions and 0 deletions
2
dotfiles/.config/containers/registries.conf
Normal file
2
dotfiles/.config/containers/registries.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[registries.search]
|
||||
registries = ['quay.io', 'ghcr.io', 'registry.fedoraproject.org', 'registry.centos.org', 'docker.io']
|
4
dotfiles/.config/containers/storage.conf
Normal file
4
dotfiles/.config/containers/storage.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
[storage]
|
||||
driver = "overlay"
|
||||
runroot = "/run/user/1000"
|
||||
graphroot = "/home/vladan/.local/share/containers/storage"
|
18
dotfiles/.config/containers/systemd/forgejo.container
Normal file
18
dotfiles/.config/containers/systemd/forgejo.container
Normal 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
|
Loading…
Reference in a new issue