2023-11-29 22:23:09 +00:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
immich_server:
|
|
|
|
container_name: immich-server
|
|
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
|
|
command: [ "start.sh", "immich" ]
|
|
|
|
environment:
|
|
|
|
- DB_HOSTNAME=immich-postgres
|
|
|
|
- DB_USERNAME=
|
|
|
|
- DB_PASSWORD=
|
|
|
|
- DB_DATABASE_NAME=immich
|
|
|
|
- REDIS_HOSTNAME=immich-redis
|
|
|
|
volumes:
|
|
|
|
- <media directory>/Photos:/usr/src/app/upload
|
|
|
|
ports:
|
|
|
|
- 2283:3001
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- database
|
|
|
|
restart: unless-stopped
|
|
|
|
immich_microservices:
|
|
|
|
container_name: immich-microservices
|
|
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
|
|
command: [ "start.sh", "microservices" ]
|
|
|
|
environment:
|
|
|
|
- DB_HOSTNAME=immich-postgres
|
|
|
|
- DB_USERNAME=
|
|
|
|
- DB_PASSWORD=
|
|
|
|
- DB_DATABASE_NAME=immich
|
|
|
|
- REDIS_HOSTNAME=immich-redis
|
|
|
|
volumes:
|
|
|
|
- <media directory>/Photos:/usr/src/app/upload
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- database
|
|
|
|
restart: unless-stopped
|
|
|
|
immich_ml:
|
|
|
|
container_name: immich-ml
|
|
|
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
|
|
|
volumes:
|
|
|
|
- <docker directory>/immich/model-cache:/cache
|
|
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
|
|
container_name: immich-redis
|
2024-03-24 14:05:52 +00:00
|
|
|
image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
2023-11-29 22:23:09 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
database:
|
|
|
|
container_name: immich-postgres
|
2024-03-24 14:05:52 +00:00
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2023-11-29 22:23:09 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
POSTGRES_USER:
|
|
|
|
POSTGRES_DB:
|
|
|
|
volumes:
|
|
|
|
- <docker directory>/immich/postgres:/var/lib/postgresql/data
|
|
|
|
restart: unless-stopped
|