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'