transition to container_ over podman_
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
## Setup immich Project
|
||||
|
||||
- [x] Copy and rename this folder to active/podman_immich
|
||||
- [x] Copy and rename this folder to active/container_immich
|
||||
- [x] Find and replace immich with the name of the service.
|
||||
- [x] Create the rootless user to run the podman containers
|
||||
- [ ] Write the compose.yaml spec for your service
|
||||
@@ -36,8 +36,8 @@
|
||||
<https://docs.immich.app/install/docker-compose/>
|
||||
|
||||
```bash
|
||||
scp active/podman_immich/release-compose.yaml immich:
|
||||
scp active/podman_immich/release-env immich:.env
|
||||
scp active/container_immich/release-compose.yaml immich:
|
||||
scp active/container_immich/release-env immich:.env
|
||||
|
||||
mkdir /srv/immich
|
||||
docker compose -f release-compose.yaml up -d
|
||||
@@ -62,10 +62,10 @@ mkdir -p /home/immich/.config/containers/systemd
|
||||
|
||||
```bash
|
||||
# Pull the compose file
|
||||
wget -O active/podman_immich/release-compose.yaml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
|
||||
wget -O active/container_immich/release-compose.yaml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
|
||||
|
||||
# Pull the .env file
|
||||
wget -O active/podman_immich/release-env https://github.com/immich-app/immich/releases/latest/download/example.env
|
||||
wget -O active/container_immich/release-env https://github.com/immich-app/immich/releases/latest/download/example.env
|
||||
```
|
||||
|
||||
2. Edit the compose.yaml. Replace all environment variables with their correct values.
|
||||
@@ -84,8 +84,8 @@ Run the following to convert a compose.yaml into the various `.container` files
|
||||
podman run \
|
||||
--security-opt label=disable \
|
||||
--rm \
|
||||
-v $(pwd)/active/podman_immich/compose:/compose \
|
||||
-v $(pwd)/active/podman_immich/quadlets:/quadlets \
|
||||
-v $(pwd)/active/container_immich/compose:/compose \
|
||||
-v $(pwd)/active/container_immich/quadlets:/quadlets \
|
||||
quay.io/k9withabone/podlet \
|
||||
-f /quadlets \
|
||||
-i \
|
||||
@@ -94,7 +94,7 @@ compose /compose/compose.yaml
|
||||
|
||||
# Copy the files to the server
|
||||
export PODMAN_SERVER=3dserver
|
||||
scp -r active/podman_immich/quadlets/. $PODMAN_SERVER:/home/immich/.config/containers/systemd/
|
||||
scp -r active/container_immich/quadlets/. $PODMAN_SERVER:/home/immich/.config/containers/systemd/
|
||||
ssh $PODMAN_SERVER chown -R immich:immich /home/immich/.config/containers/systemd/
|
||||
```
|
||||
|
||||
@@ -122,8 +122,8 @@ systemctl --user enable --now podman-auto-update.timer
|
||||
|
||||
### Expose immich
|
||||
|
||||
1. If you need a domain, follow the [DDNS instructions](/active/podman_ddns/ddns.md#install-a-new-ddns-service)
|
||||
2. For a web service, follow the [Caddy instructions](/active/podman_caddy/caddy.md#adding-a-new-caddy-record)
|
||||
1. If you need a domain, follow the [DDNS instructions](/active/container_ddns/ddns.md#install-a-new-ddns-service)
|
||||
2. For a web service, follow the [Caddy instructions](/active/container_caddy/caddy.md#adding-a-new-caddy-record)
|
||||
3. Finally, follow your OS's guide for opening ports via its firewall service.
|
||||
|
||||
#### firewalld
|
||||
|
||||
Reference in New Issue
Block a user