Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docker/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,18 @@ services:
networks:
- VE-network

bible-glyph:
image: kavitha3797/bible-glyph:latest
ports:
- "8011:8000"
environment:
- BIBLE_GLYPH_BASEPATH=/v2/bible-glyph
- TYPST_FONT_PATHS=/app/data/fonts
volumes:
# to persist uploaded fonts
- bible-glyph-vol:/app/data/fonts
restart: unless-stopped

networks:
VE-network:

Expand All @@ -667,6 +679,7 @@ volumes:
vachan-db-backup:
kratos-db-backup:
vachan-tbt-ml-models-vol:
bible-glyph-vol:
hyperdx-db:
driver: local
hyperdx-data:
Expand Down
13 changes: 13 additions & 0 deletions docker/docker-compose-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,18 @@ services:
networks:
- VE-network

bible-glyph:
image: kavitha3797/bible-glyph:latest
ports:
- "8011:8000"
environment:
- BIBLE_GLYPH_BASEPATH=/v2/bible-glyph
- TYPST_FONT_PATHS=/app/data/fonts
volumes:
# to persist uploaded fonts
- bible-glyph-vol:/app/data/fonts
restart: unless-stopped

networks:
VE-network:

Expand All @@ -609,6 +621,7 @@ volumes:
vachan-db-backup:
kratos-db-backup:
vachan-tbt-ml-models-vol:
bible-glyph-vol:
hyperdx-db:
driver: local
hyperdx-data:
Expand Down
4 changes: 4 additions & 0 deletions docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}

location /v2/bible-glyph/ {
proxy_pass http://bible-glyph:8011;
}

location / {
# Important, make sure you always remove the trailing slash
proxy_pass http://vachan-api:8000;
Expand Down
4 changes: 4 additions & 0 deletions docker/nginx/prod/app.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ server {
location /v2/demos/ {
proxy_pass http://vachan-demos:8002;
}

location /v2/bible-glyph/ {
proxy_pass http://bible-glyph:8011;
}

location / {
proxy_pass http://vachan-api:8000;
Expand Down