초기 PM 소스 전체 업로드
This commit is contained in:
40
docker-compose.yml
Normal file
40
docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# 1. 데이터베이스 (PostgreSQL)
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
container_name: pm-postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
POSTGRES_DB: pm_db
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: your_password
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
# 2. 작업 큐 백킹 스토어 (Redis)
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: pm-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
# 3. 로컬 파일 스토리지 (MinIO)
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
container_name: pm-minio
|
||||
ports:
|
||||
- "9000:9000" # API 포트
|
||||
- "9001:9001" # 관리자 콘솔 웹 포트
|
||||
environment:
|
||||
MINIO_ROOT_USER: minio_access_key
|
||||
MINIO_ROOT_PASSWORD: minio_secret_key
|
||||
volumes:
|
||||
- miniodata:/data
|
||||
command: server /data --console-address ":9001"
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
miniodata:
|
||||
Reference in New Issue
Block a user