Skip to content

Commit

Permalink
chore: redis container 추가
Browse files Browse the repository at this point in the history
related to: #11
  • Loading branch information
heejjinkim committed Sep 7, 2024
1 parent 647493e commit ef7c73a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions db/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ services:
- ${DEFAULT_PATH}/mysql/data:/var/lib/mysql
- ${DEFAULT_PATH}/mysql/initdb.d:/docker-entrypoint-initdb.d
restart: always
redis:
container_name: "redis"
image: redis:latest
command: redis-server --port 6379
ports:
- "6379:6379"
volumes:
- ${DEFAULT_PATH}/redis/data:/data
restart: always

0 comments on commit ef7c73a

Please sign in to comment.