Skip to content

Commit

Permalink
chore: add docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ji-soo708 committed Dec 28, 2024
1 parent 526eeda commit 281b6a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ java {
}
}

tasks.jar {
enabled = false
}

configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3'
services:
app:
container_name: dobby
user: "1000:1000"
image: jisoo708/dobby
expose:
- "8080"
ports: # host - container 포트 매핑
- "8080:8080"
volumes: # host 로그 디렉토리 - container 로그 디렉토리 볼륨 마운트
- ./logs:/logs

0 comments on commit 281b6a1

Please sign in to comment.