From ddea6b3cf04e435e576bd69a510fc4a3e9855e76 Mon Sep 17 00:00:00 2001 From: 3err0 Date: Thu, 13 Jun 2024 21:13:46 +0800 Subject: [PATCH] immich --- immich.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 immich.yml diff --git a/immich.yml b/immich.yml new file mode 100644 index 0000000..c93f924 --- /dev/null +++ b/immich.yml @@ -0,0 +1,45 @@ +services: + immich: + image: ghcr.io/imagegenius/immich:alpine + container_name: immich + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - DB_HOSTNAME='postgres14' + - DB_USERNAME=postgres + - DB_PASSWORD=postgres + - DB_DATABASE_NAME=immich + - REDIS_HOSTNAME='redis' + volumes: + - ./config:/config + - ./photos:/photos + ports: + - 8080:8080 + networks: + - web + - internal_network + restart: unless-stopped + + redis: + image: redis + container_name: redis + networks: + - internal_network + + postgres14: + image: tensorchord/pgvecto-rs:pg14-v0.2.0 + container_name: postgres14 + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: immich + volumes: + - ./db:/var/lib/postgresql/data + networks: + - internal_network +networks: + web: + external: true + internal: + external: false \ No newline at end of file