Reputation: 227
I have a small spring boot web application which saves the data to redis.
After running docker-compose.yml containers are started but on localhost:8085
i have "The connection was reset".
server:
address: 127.0.0.1
---
spring:
profiles: development
server:
address: 127.0.0.1
---
spring:
profiles: production
server:
address: 127.0.0.1
web:
build: docker_app
ports:
- "8085:8080"
links:
- redis
redis:
image: redis
How do I link spring boot and redis?
What did I miss?
Upvotes: 3
Views: 2723