We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b64fc69 commit ceda0d0Copy full SHA for ceda0d0
.github/workflows/docker-compose.yml
@@ -0,0 +1,30 @@
1
+version: '3.8'
2
+
3
+services:
4
+ mysql:
5
+ image: mysql:8.0
6
+ environment:
7
+ MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD}
8
+ MYSQL_DATABASE: cs25
9
+ ports:
10
+ - "3306:3306"
11
+ volumes:
12
+ - mysql-data:/var/lib/mysql
13
14
+ redis:
15
+ image: redis:7.2
16
17
+ - "6379:6379"
18
19
+ spring-app:
20
+ image: baekjonghyun/cs25-app:latest
21
22
+ - "8080:8080"
23
+ depends_on:
24
+ - mysql
25
+ - redis
26
+ env_file:
27
+ - .env
28
29
+volumes:
30
+ mysql-data:
.gitignore
@@ -35,7 +35,6 @@ out/
35
36
### VS Code ###
37
.vscode/
38
-.github/workflows/docker-compose.yml
39
40
### yml ###
41
.github/workflows/.env
0 commit comments