72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
immich-server:
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
container_name: immich-server
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
|
|
environment:
|
|
DB_HOSTNAME: database
|
|
DB_USERNAME: immich
|
|
DB_PASSWORD: immich
|
|
DB_DATABASE_NAME: immich
|
|
|
|
REDIS_HOSTNAME: redis
|
|
|
|
TZ: Europe/Berlin
|
|
|
|
volumes:
|
|
- /srv/docker/daten/immich/library:/usr/src/app/upload
|
|
|
|
ports:
|
|
- "2283:3001"
|
|
|
|
networks:
|
|
- immich-net
|
|
|
|
immich-ml:
|
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
|
container_name: immich-ml
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /srv/docker/daten/immich/model-cache:/cache
|
|
|
|
networks:
|
|
- immich-net
|
|
|
|
redis:
|
|
image: redis:latest
|
|
container_name: immich-redis
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /srv/docker/daten/immich/redis:/data
|
|
|
|
networks:
|
|
- immich-net
|
|
|
|
database:
|
|
image: tensorchord/pgvecto-rs:pg15
|
|
container_name: immich-db
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
POSTGRES_USER: immich
|
|
POSTGRES_PASSWORD: immich
|
|
POSTGRES_DB: immich
|
|
|
|
volumes:
|
|
- /srv/docker/daten/immich/postgres:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
- immich-net
|
|
|
|
networks:
|
|
immich-net: |