2023-09-27 21:18:49 +00:00
|
|
|
version: "3.8"
|
2023-09-26 19:50:11 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
immich-server:
|
|
|
|
container_name: immich_server
|
|
|
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
|
|
|
volumes:
|
|
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
2024-06-21 23:19:42 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2023-09-26 19:50:11 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-11-21 11:34:40 +00:00
|
|
|
ports:
|
|
|
|
- 2283:3001
|
2023-09-26 19:50:11 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- database
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
immich-machine-learning:
|
|
|
|
container_name: immich_machine_learning
|
|
|
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
|
|
|
volumes:
|
2023-09-27 21:18:49 +00:00
|
|
|
- model-cache:/cache
|
2023-09-26 19:50:11 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
redis:
|
|
|
|
container_name: immich_redis
|
|
|
|
image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
database:
|
|
|
|
container_name: immich_postgres
|
2024-02-29 22:53:28 +00:00
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2023-09-26 19:50:11 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
|
|
volumes:
|
2023-09-27 21:18:49 +00:00
|
|
|
- pgdata:/var/lib/postgresql/data
|
2023-09-26 19:50:11 +00:00
|
|
|
restart: always
|
|
|
|
|
2023-09-27 21:18:49 +00:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
model-cache:
|