mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	* chore(deps): change compose service dependencies to use alpine variants * chore(deps): pin manifest hashes for dependency containers
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: "3.8"
 | |
| 
 | |
| services:
 | |
|   immich-server-test:
 | |
|     image: immich-server-test
 | |
|     build:
 | |
|       context: ../server
 | |
|       dockerfile: Dockerfile
 | |
|       target: builder
 | |
|     command: npm run test:e2e
 | |
|     expose:
 | |
|       - "3000"
 | |
|     volumes:
 | |
|       - ../server:/usr/src/app
 | |
|       - /usr/src/app/node_modules
 | |
|     env_file:
 | |
|       - .env.test
 | |
|     environment:
 | |
|       - NODE_ENV=development
 | |
|       - TYPESENSE_ENABLED=false
 | |
|     depends_on:
 | |
|       - immich-redis-test
 | |
|       - immich-database-test
 | |
|     networks:
 | |
|       - immich-test-network
 | |
|   immich-redis-test:
 | |
|     container_name: immich-redis-test
 | |
|     image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3
 | |
|     networks:
 | |
|       - immich-test-network
 | |
|   immich-database-test:
 | |
|     container_name: immich-database-test
 | |
|     image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
 | |
|     env_file:
 | |
|       - .env.test
 | |
|     environment:
 | |
|       POSTGRES_PASSWORD: ${DB_PASSWORD}
 | |
|       POSTGRES_USER: ${DB_USERNAME}
 | |
|       POSTGRES_DB: ${DB_DATABASE_NAME}
 | |
|       PG_DATA: /var/lib/postgresql/data
 | |
|     volumes:
 | |
|       - /var/lib/postgresql/data
 | |
|     networks:
 | |
|       - immich-test-network
 | |
| 
 | |
| networks:
 | |
|   immich-test-network:
 |