Start docker compoose.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-03 23:10:32 -08:00
parent f046bcaebc
commit 71f77f6e79
192 changed files with 102 additions and 36 deletions

21
docker-compose.yaml Normal file
View File

@ -0,0 +1,21 @@
version: '3'
services:
wise-api:
build:
context: ./wise-api
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
react-app:
build:
context: ./wise-ui
dockerfile: Dockerfile
depends_on:
- wise-api
ports:
- "3000:80"

View File

@ -9,11 +9,11 @@
</parent>
<groupId>org.wisemapping</groupId>
<artifactId>wise-webapp</artifactId>
<artifactId>wise-api</artifactId>
<version>5.1.0-SNAPSHOT</version>
<name>WiseMapping Webapp</name>
<url>http://www.wisemapping.org</url>
<name>WiseMapping API</name>
<url>https://www.wisemapping.org</url>
<properties>
<com.wisemapping.version>5.1.0-SNAPSHOT</com.wisemapping.version>

Some files were not shown because too many files have changed in this diff Show More