immich
This commit is contained in:
@@ -1,71 +1,56 @@
|
||||
version: "3.8"
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
immich-db:
|
||||
image: tensorchord/pgvecto-rs:pg15-v0.2.0
|
||||
container_name: immich-db
|
||||
environment:
|
||||
POSTGRES_USER: immich
|
||||
POSTGRES_PASSWORD: immichpass
|
||||
POSTGRES_DB: immich
|
||||
volumes:
|
||||
- /srv/docker/daten/immich/db:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- immich-net
|
||||
|
||||
immich-redis:
|
||||
image: redis:latest
|
||||
container_name: immich-redis
|
||||
volumes:
|
||||
- /srv/docker/daten/immich/redis:/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- immich-net
|
||||
|
||||
immich-server:
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
container_name: immich-server
|
||||
restart: unless-stopped
|
||||
|
||||
depends_on:
|
||||
- redis
|
||||
- database
|
||||
|
||||
- immich-db
|
||||
- immich-redis
|
||||
environment:
|
||||
DB_HOSTNAME: database
|
||||
DB_USERNAME: immich
|
||||
DB_PASSWORD: immich
|
||||
DB_DATABASE_NAME: immich
|
||||
REDIS_HOSTNAME: redis
|
||||
HOST: 0.0.0.0
|
||||
TZ: Europe/Berlin
|
||||
|
||||
volumes:
|
||||
- /srv/docker/daten/immich/library:/usr/src/app/upload
|
||||
|
||||
PORT: 3001
|
||||
DATABASE_URL: postgres://immich:immichpass@immich-db:5432/immich
|
||||
REDIS_URL: redis://immich-redis:6379
|
||||
ports:
|
||||
- "2283:3001"
|
||||
|
||||
- "2283:3001" # Port auf VM, für Browser/App erreichbar
|
||||
restart: unless-stopped
|
||||
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-v0.2.0
|
||||
container_name: immich-db
|
||||
restart: unless-stopped
|
||||
|
||||
depends_on:
|
||||
- immich-server
|
||||
environment:
|
||||
POSTGRES_USER: immich
|
||||
POSTGRES_PASSWORD: immich
|
||||
POSTGRES_DB: immich
|
||||
|
||||
volumes:
|
||||
- /srv/docker/daten/immich/postgres:/var/lib/postgresql/data
|
||||
|
||||
IMMICH_SERVER_URL: http://immich-server:3001
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- immich-net
|
||||
|
||||
networks:
|
||||
immich-net:
|
||||
immich-net:
|
||||
name: immich-net
|
||||
Reference in New Issue
Block a user