Skip to content

Commit

Permalink
add :: mysql, redis volume
Browse files Browse the repository at this point in the history
  • Loading branch information
KimGyeongsuuu committed Sep 22, 2024
1 parent d3bdda2 commit bf62343
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ services:
- "--collation-server=utf8mb4_unicode_ci"
env_file:
- .env
volumes:
- mysql_data:/var/lib/mysql

redis:
image: redis
container_name: goms-v2-redis
ports:
- "6379:6379"
volumes:
- redis_data:/data

spring:
build:
Expand All @@ -41,4 +45,8 @@ services:
awslogs-region: ${AWS_REGION}
awslogs-stream: ${AWS_STREAM}
env_file:
- .env
- .env
-
volumes:
mysql_data:
redis_data:

0 comments on commit bf62343

Please sign in to comment.