Hello Gyus,
I’m trying to expose a java microservice that is inside the image docker, but I’m not being able to access it by postman. Does anyone know a setting to do this
follow my file docker compose
version: ‘3’
services:
springboot-jasmin-container:
image: springboot-jasmin-app:1
build:
context: ./
dockerfile: app/Dockerfile
volumes:
- /data/springboot-jasmin-app
ports:
- “8181:8181”
environment:
- SPRING_DATASOURCE_URL=jdbc:mysql://IP_BANK:3306/DATA_BASE?useTimezone=true&serverTimezone=America/Sao_Paulo