mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 13:34:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			972 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			972 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します
 | |
| name: barkey-test
 | |
| services:
 | |
|   redis:
 | |
|     restart: always
 | |
|     image: redis:7-alpine
 | |
|     ports:
 | |
|       - "6379:6379"
 | |
|     healthcheck:
 | |
|       test: "redis-cli ping"
 | |
|       interval: 5s
 | |
|       retries: 20
 | |
| 
 | |
|   postgres:
 | |
|     restart: always
 | |
|     image: postgres:15-alpine
 | |
|     ports:
 | |
|       - "5432:5432"
 | |
|     env_file:
 | |
|       - .config/docker.env
 | |
|     healthcheck:
 | |
|       test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
 | |
|       interval: 5s
 | |
|       retries: 20
 | |
| 
 | |
|   web:
 | |
|     restart: always
 | |
|     image: node:22
 | |
|     ports:
 | |
|       - 3000:3000
 | |
|     working_dir: /host
 | |
|     volumes:
 | |
|       - ./:/host
 | |
|     command: sleep infinity
 | |
| 
 | |
| #  meilisearch:
 | |
| #    restart: always
 | |
| #    image: getmeili/meilisearch:v1.3.4
 | |
| #    environment:
 | |
| #      - MEILI_NO_ANALYTICS=true
 | |
| #      - MEILI_ENV=production
 | |
| #    env_file:
 | |
| #      - .config/meilisearch.env
 | |
| #    volumes:
 | |
| #      - ./meili_data:/meili_data
 | |
| 
 |