Fix compose.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-03 23:22:38 -08:00
parent 71f77f6e79
commit 01e0639c55

View File

@ -6,10 +6,10 @@ services:
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/product
SPRING_DATASOURCE_USERNAME: product_user
SPRING_DATASOURCE_PASSWORD: product_user_password
# environment:
# SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/product
# SPRING_DATASOURCE_USERNAME: product_user
# SPRING_DATASOURCE_PASSWORD: product_user_password
react-app:
build:
@ -18,4 +18,4 @@ services:
depends_on:
- wise-api
ports:
- "3000:80"
- "80:80"