Skip to content

Commit

Permalink
#58 feat: docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdwlghks committed May 8, 2024
1 parent 2d08582 commit e40fff8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ bin/

### IntelliJ IDEA ###
/src/main/resources/data.sql
.env
.idea
*.iws
*.iml
Expand Down
4 changes: 4 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ repositories {
mavenCentral()
}

bootJar {
loaderImplementation = org.springframework.boot.loader.tools.LoaderImplementation.CLASSIC
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
Expand Down
10 changes: 10 additions & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '3.8'
services:
spring:
container_name: spring
restart: "no"
image: spring
env_file:
- .env
ports:
- 8080:8080

0 comments on commit e40fff8

Please sign in to comment.