move *.service files to subdirectory container and add service file for standalone operations in standalone
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# kontor-activemq.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-activemq.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name activemq \
|
||||
-v activemq-data:/var/lib/artemis-instance docker.io/apache/activemq-artemis:latest-alpine
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,38 @@
|
||||
# kontor-adminer.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-adminer.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-adminer \
|
||||
docker.io/library/adminer
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,41 @@
|
||||
# kontor-angular.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-angular.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-angular \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-angular.service \
|
||||
localhost/kontor-angular:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,44 @@
|
||||
# kontor-api.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podmanco kontor-api.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-api \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-api.service \
|
||||
--health-cmd="curl -f http://kontor-api:8200/health || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
localhost/kontor-api:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,45 @@
|
||||
# kontor-echo.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-echo.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-echo \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-echo.service \
|
||||
--health-cmd="curl -f http://kontor-echo:8400/health || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
localhost/kontor-echo:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,45 @@
|
||||
# kontor-fiber.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-fiber.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-fiber \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-fiber.service \
|
||||
--health-cmd="curl -f http://kontor-echo:8500/health || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
localhost/kontor-fiber:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,45 @@
|
||||
# kontor-javalin.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-javalin.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-javalin \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-javalin.service \
|
||||
--health-cmd="curl -f http://kontor-echo:8600/health || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
localhost/kontor-javalin:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,47 @@
|
||||
# kontor-postgres.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-postgres.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name postgres \
|
||||
-e POSTGRES_PASSWORD=kontor \
|
||||
-e POSTGRES_DB=kontor \
|
||||
-e POSTGRES_USER=kontor \
|
||||
-v kontor-db:/var/lib/postgresql/data \
|
||||
--health-cmd="pg_isready -U kontor || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
docker.io/library/postgres:17
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,45 @@
|
||||
# kontor-quarkus.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-quarkus.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-quarkus \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-quarkus.service \
|
||||
--health-cmd="curl -f http://kontor-quarkus:8300/q/health || exit 1" \
|
||||
--health-interval=1s \
|
||||
--health-timeout=5s \
|
||||
--health-retries=10 \
|
||||
localhost/kontor-quarkus:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,41 @@
|
||||
# kontor-spring.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-spring.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-spring \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-spring.service \
|
||||
localhost/kontor-spring:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,41 @@
|
||||
# kontor-vue.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman kontor-vue.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
BindsTo=pod-kontor.service
|
||||
After=pod-kontor.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--cidfile=%t/%n.ctr-id \
|
||||
--cgroups=no-conmon \
|
||||
--rm \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--sdnotify=conmon \
|
||||
-d \
|
||||
--replace \
|
||||
--name kontor-vue \
|
||||
--label io.containers.autoupdate=local \
|
||||
--label PODMAN_SYSTEMD_UNIT=kontor-vue.service \
|
||||
localhost/kontor-vue:0.3.0
|
||||
ExecStop=/usr/bin/podman stop \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm \
|
||||
-f \
|
||||
--ignore -t 10 \
|
||||
--cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,53 @@
|
||||
# pod-kontor.service
|
||||
# autogenerated by Podman 4.9.3
|
||||
# Sun Apr 19 16:28:14 CEST 2026
|
||||
|
||||
[Unit]
|
||||
Description=Podman pod-kontor.service
|
||||
Documentation=man:podman-generate-systemd(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=/run/user/1000/containers
|
||||
Wants=kontor-activemq.service kontor-adminer.service kontor-angular.service kontor-api.service kontor-echo.service kontor-fiber.service kontor-javalin.service kontor-quarkus.service kontor-spring.service kontor-vue.service kontor-postgres.service
|
||||
Before=kontor-activemq.service kontor-adminer.service kontor-angular.service kontor-api.service kontor-echo.service kontor-fiber.service kontor-javalin.service kontor-quarkus.service kontor-spring.service kontor-vue.service kontor-postgres.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStartPre=/usr/bin/podman pod create \
|
||||
--infra-conmon-pidfile %t/pod-kontor.pid \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
--exit-policy=stop \
|
||||
--name kontor \
|
||||
--infra \
|
||||
-p 5432:5432 \
|
||||
-p 8100:8100 \
|
||||
-p 8200:8200 \
|
||||
-p 8300:8300 \
|
||||
-p 8400:8400 \
|
||||
-p 8500:8500 \
|
||||
-p 8600:8600 \
|
||||
-p 8700:8700 \
|
||||
-p 8800:8800 \
|
||||
-p 8900:8080 \
|
||||
-p 61616:61616 \
|
||||
-p 8161:8161 \
|
||||
-p 5672:5672 \
|
||||
--network bridge \
|
||||
--replace
|
||||
ExecStart=/usr/bin/podman pod start \
|
||||
--pod-id-file %t/pod-kontor.pod-id
|
||||
ExecStop=/usr/bin/podman pod stop \
|
||||
--ignore \
|
||||
--pod-id-file %t/pod-kontor.pod-id \
|
||||
-t 10
|
||||
ExecStopPost=/usr/bin/podman pod rm \
|
||||
--ignore \
|
||||
-f \
|
||||
--pod-id-file %t/pod-kontor.pod-id
|
||||
PIDFile=%t/pod-kontor.pid
|
||||
Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user