Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed Jan 18, 2024
1 parent 3634ac0 commit 549f90c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
16 changes: 0 additions & 16 deletions anythink_ack.sh

This file was deleted.

1 change: 1 addition & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
implementation 'com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:4.9.21'
Expand Down
6 changes: 6 additions & 0 deletions backend/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
./gradlew -i bootRun &

while true; do
inotifywait -e modify,create,delete,move -r ./src/ && \
./gradlew -i assemble
done
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
anythink-backend-java:
build: ./backend
container_name: anythink-backend-java
command: sh -c "cd backend && /wait-for-it.sh postgres-java:5432 -q -t 60 && ./gradlew bootRun"
command: sh -c "cd backend && /wait-for-it.sh postgres-java:5432 -q -t 60 && ./start.sh"

environment:
- PORT=3000
Expand Down

0 comments on commit 549f90c

Please sign in to comment.