Install Immich server foto dengan docker
STEP 1- INSTALLING DOCKER
apt update
apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt-cache policy docker-ce
apt install docker-ce
systemctl status docker
STEP 2 -INSTALLING IMMICH
Create Directory
mkdir ./immich-app
cd ./immich-app
Download docker-compose.yml and example.env by running the following commands:
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
You can alternatively download these two files from your browser and move them to the directory that you created, in which case ensure that you rename example.env to .env.
Ingat yang perlu diganti adalah db_password pada .env file
STEP 3 - DOCKER COMPOSE UP
docker compose up -d
(ingat perintahnya adalah docker compose bukan docker-compose)
Running Immich dengan cara : To register for the admin user, access the web application at http://<machine-ip-address>:2283