From 02c3031ceccc7135c4a334673dc08b1f452e76fd Mon Sep 17 00:00:00 2001 From: chriswin Date: Wed, 25 Mar 2026 23:54:15 +0100 Subject: [PATCH] improve dock and paths --- README.md | 18 +++++++++--------- docker/.env | 2 ++ docker/media.yml | 1 - 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 136f38c..c029203 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Hello ``` 3. Once proxmox is configured it correctly, you should be able to access the web console on the ip defined in the terminal. -4. Verify on your node that all the drives that will be used are properly recognized. It is common practice to host the VM on your SSD/NVME drive and the data on a HDD drive. +4. Verify on your node that all the drives that will be used are properly recognized. It is common practice to host the VM on your SSD/NVME drive and the data on a HDD drive. If you want to have an HDD drive add it as a physical drive on the node and then add it to the VM. It can then be mounted on the desired path, in this example, it is /mnt/hdd-storage/media 5. Download an ISO. I recommend the latest version of Debian. 6. Create a VM using the downloaded ISO. I would recommend using 128GB of space if you have that much to start with. The space can always be expanded, but it is harder to reduce. So it is better to start small, and increase it as the needs arise. Only the basic installation is needed. You do not need a DE! 7. Make sure your user is part of the sudoers. Otherwise install sudo as root and your user to the the list: @@ -21,19 +21,19 @@ apt install sudo adduser sudo ``` -7. Install docker and docker compose following the [documentation](https://docs.docker.com/engine/install/debian/) -8. Clone this repository: ```git clone https://gitea.crescentec.ch/chriswin/immich-simple-server-config.git``` This repository consists of a docker compose stack of the following softwares: +8. Install docker and docker compose following the [documentation](https://docs.docker.com/engine/install/debian/) +9. Clone this repository: ```git clone https://gitea.crescentec.ch/chriswin/immich-simple-server-config.git``` This repository consists of a docker compose stack of the following softwares: - Pangolin (reverse proxy, vpn, ...) - PostgreSQL (database) - Redis (Caching) - pgAdmin (database explorer) - Databasus (database backup) - Immich (image library) -9. Mount the HDD drive which will contain your data -10. Configure Postgres... +10. Mount the HDD drive which will contain your data +11. Configure Postgres... - Create a new user for Immich (memorize the password) - Create a new table linked to this user (memorize the table name) -11. Configure Pangolin... -12. Configure Immich... -13. Configure Databasus... (optional but highly recommended) -14. Configure Proxmox backup of VM... (optional but highly recommended) +12. Configure Pangolin... +13. Configure Immich... +14. Configure Databasus... (optional but highly recommended) +15. Configure Proxmox backup of VM... (optional but highly recommended) diff --git a/docker/.env b/docker/.env index f860d56..2403f61 100644 --- a/docker/.env +++ b/docker/.env @@ -7,3 +7,5 @@ PGID=1000 TEMPLATES_PATH=$[PWD]/docker-compose.templates.yml INCLUDE_PATH=${PWD}/docker +EXTERNAL_PATH=/mnt/hdd-storage +MEDIA_PATH=${EXTERNAL_PATH}/media diff --git a/docker/media.yml b/docker/media.yml index bd86f26..5b8c164 100644 --- a/docker/media.yml +++ b/docker/media.yml @@ -13,7 +13,6 @@ services: DB_DATABASE_NAME: immich REDIS_HOSTNAME: redis volumes: - - ${IMMICH_EXTERNAL_PATH}:/usr/src/app/external:ro - ${MEDIA_PATH}/immich/data/library:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro ports: