Skip to content

Commit

Permalink
fix : docker compose dev (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom authored Aug 11, 2024
1 parent 933a7e0 commit 14e10c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/showpot-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
spring.datasource.password: ${{ secrets.APPLICATION_DATASOURCE_PASSWORD }}

- name: Build with Gradle Wrapper
run: ./gradlew clean build
run: ./gradlew clean build -Dspring.profiles.active=dev

- name: Prepare File for Deployment
run: |
Expand Down
14 changes: 3 additions & 11 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
services:
redis:
container_name: yapp_redis
image: redis:alpine
ports:
- '6379:6379'
networks:
- app-network

app:
image: yapp
container_name: yapp_core
build:
context: .
dockerfile: dockerfile-dev
Expand All @@ -17,10 +10,9 @@ services:
SPRING_REDIS_PORT: 6379
ports:
- '8080:8080'
depends_on:
- redis
networks:
- app-network

networks:
app-network:
app-network:
driver: bridge

0 comments on commit 14e10c9

Please sign in to comment.