Skip to content

Commit

Permalink
Merge pull request #738 from FEMR/kevin-image-mysql-9.1.0-update
Browse files Browse the repository at this point in the history
Docker compose update
  • Loading branch information
StarDylan authored Oct 24, 2024
2 parents 6f49217 + c44e867 commit c19db54
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 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,10 +30,11 @@ 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'



volumes:
db-data:

0 comments on commit c19db54

Please sign in to comment.