63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
# entrypoint: ["/bin/sh", "./start-server.sh"]
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
|
|
# immich-microservices:
|
|
# container_name: immich_microservices
|
|
# image: ghcr.io/immich-app/immich-server:release
|
|
# entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
|
# volumes:
|
|
# - ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
# env_file:
|
|
# - .env
|
|
# depends_on:
|
|
# - redis
|
|
# - database
|
|
# restart: always
|
|
|
|
immich-machine-learning:
|
|
container_name: immich_machine_learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
|
volumes:
|
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
|
- model-cache:/cache
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
|
|
redis:
|
|
container_name: immich_redis
|
|
image: redis:6.2
|
|
restart: always
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
PG_DATA: /var/lib/postgresql/data
|
|
volumes:
|
|
# - pgdata:/var/lib/postgresql/data
|
|
# - /mnt/Data/.system/containerdata/immich-db:/newdata
|
|
- /mnt/Data/.system/containerdata/immich-db:/var/lib/postgresql/data
|
|
restart: always
|
|
|
|
volumes:
|
|
pgdata:
|
|
model-cache:
|
|
|