Skip to content

Commit 446953a

Browse files
committed
chore[deploy]: redis 추가 설치
1 parent 63bc2da commit 446953a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

infra/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,15 @@ docker run -d \
228228
-v /dockerProjects/npm_1/volumes/etc/letsencrypt:/etc/letsencrypt \
229229
jc21/nginx-proxy-manager:latest
230230
231+
# redis 설치
232+
docker run -d \
233+
--name=redis_1 \
234+
--restart unless-stopped \
235+
--network common \
236+
-p 6379:6379 \
237+
-e TZ=Asia/Seoul \
238+
redis --requirepass ${var.password_1}
239+
231240
# mysql 설치
232241
docker run -d \
233242
--name mysql_1 \

0 commit comments

Comments
 (0)