Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tax-day-experiment' into tax-day…
Browse files Browse the repository at this point in the history
…-experiment
  • Loading branch information
Phillip Maffettone committed Apr 10, 2024
2 parents e7dc548 + 9e2ed95 commit e524fa1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions containers/mmm5-tax-day-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ services:
target: /etc/bluesky/kafka.yml
read_only: true

gsas-ui:
image: ghcr.io/maffettone/bluesky-adaptive-ui:latest
command: python3 /src/bluesky-adaptive-ui/bluesky_adaptive_ui/default_dash_app/app.py --agent-address gsas
volumes:
- type: bind
source: ../bluesky-adaptive-ui
target: /src/bluesky-adaptive-ui
read_only: true

kmeans-gsas:
image: bluesky:latest
command: uvicorn bluesky_adaptive.server:app --host 0.0.0.0
Expand Down
8 changes: 8 additions & 0 deletions containers/nginx/locs.d/gsas.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ location /gsas/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 60s;
}

location /gsas/ui/ {
proxy_pass http://gsas-ui:8050/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 60s;
}

0 comments on commit e524fa1

Please sign in to comment.