This commit is contained in:
2025-12-09 17:02:27 +09:00
parent 26f8e1dab2
commit 83127da569
275 changed files with 139682 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
version: "1.0"
# 개발 편의를 위한 옵션 폴더
# 개발 편의성 (컨테이너 재빌드 안 함)
# DB PostgreSQL, Redis만 Docker 컨테이너로 실행
# Frontend/Backend는 로컬에서 직접 실행
services:
postgres:
image: postgres:15-alpine
container_name: postgres-db
ports:
- "${POSTGRES_PORT:-5431}:5432"
environment:
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-turbo123}
- POSTGRES_DB=${POSTGRES_DB:-genomic}
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER:-user}"]
interval: 10s
timeout: 5s
retries: 5
networks:
- app-network
redis:
image: redis:7-alpine
container_name: redis-cache
ports:
- "${REDIS_PORT:-6379}:6379"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
- app-network
volumes:
postgres_data:
redis_data:
networks:
app-network:
driver: bridge