Spring Boot - Docker and Deployment
Consider this
What environment variable will be available inside the
docker-compose.yml snippet:services:
web:
image: springboot-web
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=prod
redis:
image: redis
ports:
- "6379:6379"What environment variable will be available inside the
web container?