feat(immich):docker-compose
This commit is contained in:
72
compose/immich/docker-compose.yml
Normal file
72
compose/immich/docker-compose.yml
Normal file
@@ -0,0 +1,72 @@
|
||||
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: postgres:15
|
||||
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:
|
||||
Reference in New Issue
Block a user