We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f6322 commit c95c4bdCopy full SHA for c95c4bd
docker-compose.yml
@@ -0,0 +1,16 @@
1
+version: '3.8'
2
+
3
+services:
4
+ redis:
5
+ image: redis:7-alpine
6
+ container_name: haedok-redis
7
+ ports:
8
+ - "6379:6379" # 호스트 6379포트를 컨테이너 6379포트에 매핑
9
+ volumes:
10
+ - redis_data:/data # 데이터 지속성을 위한 볼륨 마운트
11
+ restart: unless-stopped # 수동으로 중지하기 전까지 자동 재시작
12
+ command: redis-server --appendonly yes # AOF(Append Only File) 활성화로 데이터 지속성 보장
13
14
+volumes:
15
+ redis_data:
16
+ driver: local # 로컬 볼륨 드라이버 사용
0 commit comments