Skip to content

Commit

Permalink
changed mysql version to support arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinWHYuan committed Oct 17, 2024
1 parent d6c6b81 commit 9793d3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"
services:

db:
image: mysql:5.7
image: mysql:9.1.0
restart: always
environment:
MYSQL_DATABASE: 'femr_db'
Expand All @@ -17,7 +17,7 @@ services:
- db-data:/var/lib/mysql

femr:
image: spencerklawans/femr:latest
build: .
links:
- db:mysql
depends_on:
Expand All @@ -30,8 +30,8 @@ services:
volumes:
- ./femr/conf:/home/femrapp/conf
environment:
DB_URL: 'jdbc:mysql://db:3306/femr_db?characterEncoding=UTF-8&useSSL=false'
DB_USER: 'root'
DB_URL: 'jdbc:mysql://db:3306/femr_db?characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true'
DB_USER: 'femr'
DB_PASS: 'password'


Expand Down

0 comments on commit 9793d3f

Please sign in to comment.