Merge pull request #243 from mail4taz/patch-mysql-persistent-storage

mysql docker setup patch
This commit is contained in:
James Agnew
2021-06-15 08:42:43 -04:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -196,6 +196,9 @@ spring:
jpa:
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

View File

@@ -9,6 +9,8 @@ services:
hapi-fhir-mysql:
image: mysql:latest
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
environment:
MYSQL_DATABASE: 'hapi'