From 27bbd9621a21235ccf5dc6f91a005cb7996d1791 Mon Sep 17 00:00:00 2001 From: Michael Hettwer Date: Mon, 29 Dec 2025 19:10:03 +0100 Subject: [PATCH] first commit --- .gitignore | 5 +++++ README.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..617ec1c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Generated by MacOS +.DS_Store + +# Generated by Windows +Thumbs.db \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a95e22 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +Immich on Debian with Podman + systemd (Ansible) + +Quick start + +1) Edit inventory and variables: + - inventory/hosts.ini + - group_vars/all.yml (set immich_db_password) + +2) Run: + ansible-playbook -i inventory/hosts.ini site.yml + +Notes +- Systemd unit files are installed under /etc/systemd/system. +- Data lives under /opt/immich by default. Adjust variables in group_vars/all.yml or via -e. + +Ports +- Host: `immich_server_port` -> Container: 3001 (Immich HTTP). Default host port is 2283. +- Redis/Postgres/Microservices/ML are internal-only on the Podman network (no host ports published). + +Nginx reverse proxy example +```nginx +server { + listen 80; + server_name immich.example.com; + + client_max_body_size 0; + + location / { + proxy_pass http://127.0.0.1:2283; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } +} +```