-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-proxy.yml
50 lines (47 loc) · 1.44 KB
/
docker-compose-proxy.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
version: "3.6"
services:
proxy:
build:
context: ./
dockerfile: ./docker/nginx/Dockerfile
args:
- HTTP_PROXY=$HTTP_PROXY
- HTTPS_PROXY=$HTTPS_PROXY
- NO_PROXY=$NO_PROXY
container_name: cms_proxy
restart: always
networks:
- cogstack-model-serve_cms
volumes:
- ./docker/nginx/etc/nginx/root-ca.pem:/etc/nginx/root-ca.pem:ro
- ./docker/nginx/etc/nginx/root-ca.key:/etc/nginx/root-ca.key:ro
- ./docker/nginx/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./docker/nginx/etc/nginx/cors.conf:/etc/nginx/cors.conf:ro
- ./docker/nginx/etc/nginx/sites-enabled/:/etc/nginx/sites-enabled/:ro
- ./docker/nginx/etc/nginx/.htpasswd:/etc/nginx/.htpasswd
environment:
- HTTP_PROXY=$HTTP_PROXY
- HTTPS_PROXY=$HTTPS_PROXY
- NO_PROXY=localhost
- http_proxy=$HTTP_PROXY
- https_proxy=$HTTPS_PROXY
- no_proxy=localhost
ports:
- 28180:28180 # medcat-snomed
- 28181:28181 # medcat-icd10
- 28182:28182 # de-identification
- 28183:28183 # medcat-deid
- 28184:28184 # medcat-umls
- 28199:28199 # minio
- 28200:28200 # mlflow-ui
- 28201:28201 # prometheus
- 28202:28202 # grafana
- 28203:28203 # graylog
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health"]
interval: 60s
timeout: 20s
retries: 3
networks:
cogstack-model-serve_cms:
external: true