From 9793d3f398bbe65fe45ecceef72f02cd0c3c43ea Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 17 Oct 2024 10:07:34 -0700 Subject: [PATCH] changed mysql version to support arm64 --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b0cefaef1..fc0606091 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3" services: db: - image: mysql:5.7 + image: mysql:9.1.0 restart: always environment: MYSQL_DATABASE: 'femr_db' @@ -17,7 +17,7 @@ services: - db-data:/var/lib/mysql femr: - image: spencerklawans/femr:latest + build: . links: - db:mysql depends_on: @@ -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'