Skip to content

Commit

Permalink
add docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wjddn2165 committed Jul 29, 2024
1 parent 6fdc273 commit a14b274
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.8'

services:
spring-app:
image: your-docker-hub-username/jgs-spring-boot:latest
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=prod
- SPRING_REDIS_HOST=redis
- SPRING_REDIS_PORT=6379
depends_on:
- redis

redis:
image: redis:alpine
ports:
- "6379:6379"

0 comments on commit a14b274

Please sign in to comment.