Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team6-Digital Insight for Health
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chen Liang
Team6-Digital Insight for Health
Compare revisions
6e91bce15274b0884b618e1d04e32fe4d34b2801 to d5335f2801e9ee973e2065e6816a22b5907a7cc4
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
c24025433/healthcare
Select target project
No results found
d5335f2801e9ee973e2065e6816a22b5907a7cc4
Select Git revision
Branches
ba
cmy
lc
main
master
sy
try
wyl
Swap
Target
c24025433/healthcare
Select target project
c24025433/healthcare
1 result
6e91bce15274b0884b618e1d04e32fe4d34b2801
Select Git revision
Branches
ba
cmy
lc
main
master
sy
try
wyl
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
setup db with docker
· 88f60d96
Burhan Akbar
authored
4 weeks ago
88f60d96
Update schema to use 'healthcare' DB
· d5335f28
Burhan Akbar
authored
4 weeks ago
d5335f28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+1
-3
1 addition, 3 deletions
docker-compose.yml
src/main/resources/schema.sql
+2
-2
2 additions, 2 deletions
src/main/resources/schema.sql
with
3 additions
and
5 deletions
docker-compose.yml
View file @
d5335f28
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/schema.sql
View file @
d5335f28
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.