33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=kanbn-to-quartz-server
|
|
Environment="ASPNETCORE_ENVIRONMENT=Production"
|
|
Image=gitea.phares.duckdns.org:443/phares3757/kanbn-to-quartz:latest
|
|
# Network=kanbn-to-quartz-server.network
|
|
# Pod=kanbn-to-quartz-server.pod
|
|
PublishPort=5024:5001
|
|
Volume=/etc/localtime:/etc/localtime:ro
|
|
Volume=/etc/timezone:/etc/timezone:ro
|
|
Volume=/mnt/free-file-sync/kanban/Year-Season/:/app/year-season:rw
|
|
# Volume=/home/www-data/jackyzha0-quartz-phares/content:/app/content:rw
|
|
Volume=/home/podman/jackyzha0-quartz-phares/content:/app/content:rw
|
|
# Volume=/home/podman/.microsoft/usersecrets/fb4df5f7-8d94-4524-987e-0b725a85edde:/~/.microsoft/usersecrets/fb4df5f7-8d94-4524-987e-0b725a85edde:ro
|
|
Volume=/home/podman/.microsoft/usersecrets/fb4df5f7-8d94-4524-987e-0b725a85edde/secrets.json:/app/secrets.json:ro
|
|
|
|
[Service]
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target
|
|
|
|
# podman pull gitea.phares.duckdns.org:443/phares3757/kanbn-to-quartz:latest
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user start kanbn-to-quartz-server
|
|
# systemctl --user status kanbn-to-quartz-server
|
|
# journalctl -fu kanbn-to-quartz-server.service
|
|
# podman logs kanbn-to-quartz-server
|
|
# systemctl --user stop kanbn-to-quartz-server
|
|
# systemctl --user disable kanbn-to-quartz-server
|
|
# podman exec -ti kanbn-to-quartz-server /bin/sh
|
|
# podman exec -ti kanbn-to-quartz-server /bin/bash
|