Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • c24025433/healthcare
1 result
Show changes
Commits on Source (2)
......@@ -4,13 +4,12 @@ services:
mariadb:
image: mariadb:10.11.11
container_name: mariadb
# Host networking means this container listens on the host’s 3306
network_mode: "host"
environment:
MYSQL_ROOT_PASSWORD: comsc
MYSQL_DATABASE: healthcare
volumes:
- "./src/main/resources:/docker-entrypoint-initdb.d"
- ./src/main/resources:/docker-entrypoint-initdb.d
deploy:
resources:
limits:
......@@ -22,7 +21,6 @@ services:
context: .
dockerfile: Dockerfile
container_name: healthcare_01
# Shares the host network, so no port mapping is needed
network_mode: "host"
environment:
- DB_URL=jdbc:mariadb://localhost:3306/healthcare?createDatabaseIfNotExist=true
......
......@@ -14,8 +14,8 @@
Date: 09/12/2024 17:20:20
*/
CREATE DATABASE IF NOT EXISTS health_care;
USE health_care;
CREATE DATABASE IF NOT EXISTS healthcare;
USE healthcare;
SET NAMES utf8mb4;
......