Skip to content

Commit 8edb699

Browse files
committed
Add service file
1 parent 02cd1d3 commit 8edb699

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

build.sh

-13
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,4 @@ mkdir -m 0700 -p /var/roothome
88
ln -sf /run /var/run
99

1010

11-
### Install packages
12-
13-
# Packages can be installed from any enabled yum repo on the image.
14-
# RPMfusion repos are available by default in ublue main images
15-
# List of rpmfusion packages can be found here:
16-
# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/39/x86_64/repoview/index.html&protocol=https&redirect=1
17-
18-
# this installs a package from fedora repos
19-
20-
# this would install a package from rpmfusion
21-
# rpm-ostree install vlc
22-
23-
#### Example for enabling a System Unit File
2411
systemctl enable podman.socket
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Container]
2+
Image=docker.io/portainer/portainer-ce:alpine
3+
ContainerName=portainer
4+
AutoUpdate=registry
5+
#Notify=true
6+
LogDriver=journald
7+
8+
PublishPort=9443:9443
9+
PublishPort=9000:9000
10+
Volume=/usr/lib/systemd/system/podman.socket:/var/run/docker.sock:Z
11+
GlobalArgs=--storage-opt=additionalimagestore=/usr/lib/bootc/storage
12+
13+
[Service]
14+
Restart=on-success
15+
16+
[Install]
17+
WantedBy=default.target

0 commit comments

Comments
 (0)