Merge pull request #243 from mail4taz/patch-mysql-persistent-storage
mysql docker setup patch
This commit is contained in:
@@ -196,6 +196,9 @@ spring:
|
|||||||
jpa:
|
jpa:
|
||||||
hibernate.physical_naming_strategy: NAME_OF_PREFERRED_STRATEGY
|
hibernate.physical_naming_strategy: NAME_OF_PREFERRED_STRATEGY
|
||||||
```
|
```
|
||||||
|
On linux systems or when using docker mysql containers, it will be necessary to review the case-sensitive setup for
|
||||||
|
mysql schema identifiers. See https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html. We suggest you
|
||||||
|
set `lower_case_table_names=1` during mysql startup.
|
||||||
|
|
||||||
### PostgreSQL configuration
|
### PostgreSQL configuration
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ services:
|
|||||||
hapi-fhir-mysql:
|
hapi-fhir-mysql:
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
container_name: hapi-fhir-mysql
|
container_name: hapi-fhir-mysql
|
||||||
|
#https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html
|
||||||
|
command: --lower_case_table_names=1
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: 'hapi'
|
MYSQL_DATABASE: 'hapi'
|
||||||
|
|||||||
Reference in New Issue
Block a user