Skip to content
Snippets Groups Projects
Commit a5d93259 authored by Burhan Akbar's avatar Burhan Akbar
Browse files

docker-compose.yml changes

parent 4dcbf572
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ services:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: comsc
MYSQL_DATABASE: healthcare
volumes:
- "./src/main/resources:/docker-entrypoint-initdb.d"
deploy:
......@@ -25,6 +26,9 @@ services:
container_name: healthcare_01
environment:
- DB_URL=jdbc:mariadb://mariadb:3306/healthcare?createDatabaseIfNotExist=true
- SPRING_DATASOURCE_URL=jdbc:mariadb://mariadb:3306/healthcare?createDatabaseIfNotExist=true
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=comsc
ports:
- "8080:8080"
deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment