forked from gh-mirrored/hallstatt
fiskar: init image
Signed-off-by: Tulip Blossom <tulilirockz@proton.me>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[Unit]
|
||||
Description=Cockpit Container
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
RequiresMountsFor=/
|
||||
|
||||
[X-Container]
|
||||
Image=quay.io/cockpit/ws:latest
|
||||
ContainerName=cockpit-ws
|
||||
Environment=NAME=cockpit-ws
|
||||
|
||||
Label=io.containers.autoupdate=registry
|
||||
|
||||
Volume=/:/host
|
||||
PodmanArgs=--pid host --privileged
|
||||
Exec=/container/label-run
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
KillMode=mixed
|
||||
ExecStopPost=-/usr/bin/podman rm -f -i --cidfile=%t/%N.cid
|
||||
ExecStopPost=-rm -f %t/%N.cid
|
||||
Delegate=yes
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
SyslogIdentifier=%N
|
||||
ExecStart=/usr/bin/podman run --name=ws --cidfile=%t/%N.cid --replace --rm --cgroups=split --sdnotify=conmon -d -v /:/host --env NAME=ws --label io.containers.autoupdate=registry --pid host --privileged quay.io/cockpit/ws:latest /container/label-run
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,2 @@
|
||||
[zram0]
|
||||
zram-size = min(ram, 8192)
|
||||
Reference in New Issue
Block a user