-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
51 lines (49 loc) · 1.53 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
volumes:
mysql:
driver: local
rvf-store:
driver: local
services:
db:
image: mysql:8.0
restart: always
environment:
- MYSQL_ROOT_PASSWORD=snomed
- MYSQL_USER=rvf_user
- MYSQL_PASSWORD=snomedrvf
- MYSQL_DATABASE=rvf_master
networks:
rvf_net:
aliases:
- sql
volumes:
- mysql:/var/lib/mysql
command:
mysqld --sql_mode="NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES" --lower_case_table_names=1 --local_infile=1 --innodb_redo_log_capacity=4G
rvf:
image: snomedinternational/release-validation-framework:latest
container_name: rvf
depends_on:
- db
entrypoint: java -Xms512m -Xmx8g -Daws.region=us-east-1 --add-opens=java.base/java.lang=ALL-UNNAMED -cp @/app/jib-classpath-file org.ihtsdo.rvf.App --server.port=8081 --server.servlet.context-path=/api
ports:
- "8081:8081"
environment:
- SPRING_DATASOURCE_URL=jdbc:mysql://db:3306/?useSSL=false&allowLoadLocalInfile=true&allowPublicKeyRetrieval=true
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=snomed
- rvf.assertion.resource.local.path=snomed-release-validation-assertions
- rvf.drools.rule.directory=snomed-drools-rules
- spring.security.user.name=rvf_user
- spring.security.user.password=snomed
networks:
- rvf_net
volumes:
- rvf-store:/app/store
- mysql:/var/lib/mysql
- type: bind
source: ./store/releases
target: /app/store/releases
restart: always
networks:
rvf_net: