-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.prod.yml
35 lines (31 loc) · 1.01 KB
/
docker-compose.prod.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
version: '3'
services:
api:
build: .
restart: unless-stopped
volumes:
- ./:/app
# - ./data:/app/data
# - /data/openpredict:/app/data
# entrypoint: gunicorn -w 8 -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8808 --timeout 600 trapi.main:app
environment:
# Variable for nginx-proxy routing. See https://github.com/nginx-proxy/
VIRTUAL_HOST: openpredict.semanticscience.org
LETSENCRYPT_HOST: openpredict.semanticscience.org
VIRTUAL_PORT: 8808
NO_JAEGER: "true"
# JAEGER_HOST: jaeger-otel-agent.sri
# JAEGER_PORT: 6831
# OPENPREDICT_APIKEY: ${OPENPREDICT_APIKEY}
# NOTE: not required, just for testing
# jaeger-otel-agent.sri:
# image: jaegertracing/all-in-one:latest
# # ports:
# # - "16686:16686"
# # - "4318:4318"
# # - "6831:6831/udp"
# environment:
# LOG_LEVEL: debug
# VIRTUAL_HOST: jaeger.137.120.31.102.nip.io
# LETSENCRYPT_HOST: jaeger.137.120.31.102.nip.io
# VIRTUAL_PORT: 16686