linux-ubuntu-server/home/podman/.config/containers/systemd/uptime-kuma-server.container

41 lines
1.6 KiB
Plaintext

[Container]
AutoUpdate=registry
ContainerName=uptime-kuma-server
# Environment="NODE_TLS_REJECT_UNAUTHORIZED=1"
Environment="UPTIME_KUMA_SSL_CERT=/certs/server.cert"
Environment="UPTIME_KUMA_SSL_KEY=/certs/server.key"
Image=docker.io/louislam/uptime-kuma:1
# Network=uptime-kuma.network
# Pod=uptime-kuma.pod
PodmanArgs=--add-host=adguard.bchs.duckdns.org:192.168.11.2
PodmanArgs=--add-host=cockpit.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=gotify.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=immich-to-slideshow.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=kanbn-to-quartz.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=kuma.phares.duckdns.org:192.168.11.2
# PodmanArgs=--add-host=mattermost.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=pgadmin.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=vaultwarden.phares.duckdns.org:192.168.11.2
PodmanArgs=--add-host=warden.phares.duckdns.org:192.168.11.2
PublishPort=3004:3001
Volume=uptime-kuma-server-data.volume:/app/data:rw
Volume=/home/podman/wild-phares/fullchain.cer:/certs/server.cert:ro
Volume=/home/podman/wild-phares/phares.duckdns.org.key:/certs/server.key:ro
[Service]
Restart=no
[Install]
WantedBy=multi-user.target default.target
# podman pull docker.io/louislam/uptime-kuma:1
# systemctl --user daemon-reload
# systemctl --user start uptime-kuma-server
# systemctl --user status uptime-kuma-server --lines=999
# journalctl -fu uptime-kuma-server.service
# podman logs uptime-kuma-server
# systemctl --user stop uptime-kuma-server
# systemctl --user disable uptime-kuma-server
# podman exec -ti uptime-kuma-server /bin/sh
# podman exec -ti uptime-kuma-server /bin/bash