After many attemps
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=immich-server
|
||||
Environment="DB_DATABASE_NAME=immich"
|
||||
Environment="DB_HOST=192.168.11.2"
|
||||
Environment="DB_PASSWORD=postgres"
|
||||
Environment="DB_USERNAME=postgres"
|
||||
Image=ghcr.io/immich-app/immich-server:release
|
||||
# Network=immich.network
|
||||
# Pod=immich.pod
|
||||
PublishPort=3001:3001
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
Volume=immich-server-upload.volume:/usr/src/app/upload:Z
|
||||
Volume=immich-server-external.volume:/usr/src/app/external:Z
|
||||
|
||||
[Service]
|
||||
Restart=no
|
||||
|
||||
[Unit]
|
||||
Requires=immich-learning.service
|
||||
After=immich-learning.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
|
||||
# https://immich.app/docs/install/environment-variables
|
||||
|
||||
# podman pull ghcr.io/immich-app/immich-server:release
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user start immich-server
|
||||
# systemctl --user status immich-server
|
||||
# journalctl -fu immich-server.service
|
||||
# podman logs immich-server
|
||||
# systemctl --user stop immich-server
|
||||
# systemctl --user disable immich-server
|
||||
# podman exec -ti immich-server /bin/sh
|
||||
# podman exec -ti immich-server /bin/bash
|
Reference in New Issue
Block a user