49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: "3.8"
 | |
| 
 | |
| services:
 | |
|   immich-server:
 | |
|     container_name: immich_server
 | |
|     image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
 | |
|     volumes:
 | |
|       - ${UPLOAD_LOCATION}:/usr/src/app/upload
 | |
|     env_file:
 | |
|       - stack.env
 | |
|     ports:
 | |
|       - 2283:3001
 | |
|     depends_on:
 | |
|       - redis
 | |
|       - database
 | |
|     restart: unless-stopped
 | |
| 
 | |
|   immich-machine-learning:
 | |
|     container_name: immich_machine_learning
 | |
|     image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
 | |
|     volumes:
 | |
|       - model-cache:/cache
 | |
|     env_file:
 | |
|       - stack.env
 | |
|     restart: unless-stopped
 | |
| 
 | |
|   redis:
 | |
|     container_name: immich_redis
 | |
|     image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
 | |
|     restart: unless-stopped
 | |
| 
 | |
|   database:
 | |
|     container_name: immich_postgres
 | |
|     image: tensorchord/pgvecto-rs:pg14-v0.1.11    
 | |
|     env_file:
 | |
|       - stack.env
 | |
|     environment:
 | |
|       POSTGRES_PASSWORD: ${DB_PASSWORD}
 | |
|       POSTGRES_USER: ${DB_USERNAME}
 | |
|       POSTGRES_DB: ${DB_DATABASE_NAME}
 | |
|     volumes:
 | |
|       - pgdata:/var/lib/postgresql/data
 | |
|     restart: unless-stopped
 | |
| 
 | |
| 
 | |
| volumes:
 | |
|   pgdata:
 | |
|   model-cache:
 | |
|   tsdata: | 
