29 lines
776 B
Plaintext
29 lines
776 B
Plaintext
[Container]
|
|
# AutoUpdate=registry
|
|
ContainerName=gotify-server
|
|
Environment="TZ=America/Phoenix"
|
|
Image=docker.io/gotify/server
|
|
# Network=gotify.network
|
|
# Pod=gotify.pod
|
|
PublishPort=5016:80
|
|
Volume=gotify-server-data.volume:/app/data:Z
|
|
Volume=/etc/localtime:/etc/localtime:ro
|
|
Volume=/etc/timezone:/etc/timezone:ro
|
|
|
|
[Service]
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target
|
|
|
|
# podman pull docker.io/gotify/server
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user start gotify-server
|
|
# systemctl --user status gotify-server --lines=999
|
|
# journalctl -fu gotify-server.service
|
|
# podman logs gotify-server
|
|
# systemctl --user stop gotify-server
|
|
# systemctl --user disable gotify-server
|
|
# podman exec -ti gotify-server /bin/sh
|
|
# podman exec -ti gotify-server /bin/bash
|