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 dockerfile: Dockerfile
ports: ports:
- "8080:8080" - "8080:8080"
environment: # environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/product # SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/product
SPRING_DATASOURCE_USERNAME: product_user # SPRING_DATASOURCE_USERNAME: product_user
SPRING_DATASOURCE_PASSWORD: product_user_password # SPRING_DATASOURCE_PASSWORD: product_user_password
react-app: react-app:
build: build:
@ -18,4 +18,4 @@ services:
depends_on: depends_on:
- wise-api - wise-api
ports: ports:
- "3000:80" - "80:80"