diff --git a/Server/docker-compose.yml b/Server/docker-compose.yml new file mode 100644 index 00000000..fbe854f7 --- /dev/null +++ b/Server/docker-compose.yml @@ -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"