34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=immich-to-slideshow-server
|
|
Environment="ASPNETCORE_ENVIRONMENT=Production"
|
|
Image=gitea.phares.duckdns.org:443/phares3757/immich-to-slideshow:latest
|
|
# Network=immich-to-slideshow-server.network
|
|
# Pod=immich-to-slideshow-server.pod
|
|
PublishPort=5009:5001
|
|
Volume=/etc/localtime:/etc/localtime:ro
|
|
Volume=/etc/timezone:/etc/timezone:ro
|
|
Volume=immich-server-upload.volume:/app/immich:ro
|
|
Volume=/var/www/html-slideshow/slideshow:/app/sync:rw
|
|
Volume=/var/www/html-slideshow/slideshow/random-results:/app/random-results:rw
|
|
Volume=/mnt/free-file-sync/6-Other-Large-Z/Current-Results:/app/current-results:rw
|
|
# Volume=/home/podman/.microsoft/usersecrets/cc24ad7a-1d95-4c47-a3ea-0d8475ab06da:/~/.microsoft/usersecrets/cc24ad7a-1d95-4c47-a3ea-0d8475ab06da:ro
|
|
Volume=/home/podman/.microsoft/usersecrets/cc24ad7a-1d95-4c47-a3ea-0d8475ab06da/secrets.json:/app/secrets.json:ro
|
|
|
|
[Service]
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target
|
|
|
|
# podman pull gitea.phares.duckdns.org:443/phares3757/immich-to-slideshow:latest
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user start immich-to-slideshow-server
|
|
# systemctl --user status immich-to-slideshow-server
|
|
# journalctl -fu immich-to-slideshow-server.service
|
|
# podman logs immich-to-slideshow-server
|
|
# systemctl --user stop immich-to-slideshow-server
|
|
# systemctl --user disable immich-to-slideshow-server
|
|
# podman exec -ti immich-to-slideshow-server /bin/sh
|
|
# podman exec -ti immich-to-slideshow-server /bin/bash
|