forked from IHTSDO/release-validation-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 883 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 883 Bytes
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
version: '2.1'
volumes:
mysql:
driver: local
services:
db:
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=snomed
- MYSQL_USERNAME=rvf_user
- MYSQL_PASSWORD=snomedrvf
- MYSQL_DATABASE=rvf_master
healthcheck:
test: ["CMD", "/usr/bin/healthcheck"]
interval: 30s
timeout: 10s
retries: 5
networks:
rvf_net:
aliases:
- sql
volumes:
- mysql:/var/lib/mysql
command:
mysqld --sql_mode="NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES"
rvf:
image: snomedinternational/rvf:latest
container_name: rvf
depends_on:
- db
entrypoint: java -Xms512m -Xmx4g -DrvfConfigLocation=/app/config -jar api.jar --server.port=8081 --server.servlet.context-path=/api
ports:
- 8081:8081
networks:
- rvf_net
networks:
rvf_net: