Skip to content

Commit

Permalink
CV2-3435 update config for port
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Sep 13, 2023
1 parent 6809ca0 commit 50e5b80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
- elasticmq
volumes:
- ./:/app
ports:
- "8000:8000"
elasticmq:
image: softwaremill/elasticmq
hostname: presto-elasticmq
Expand Down
4 changes: 3 additions & 1 deletion local.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PRESTO_PORT=8000
DEPLOY_ENV=local
MODEL_NAME=mean_tokens.Model
# MODEL_NAME=mean_tokens.Model
MODEL_NAME=audio.Model
AWS_ACCESS_KEY_ID=SOMETHING
AWS_SECRET_ACCESS_KEY=OTHERTHING
4 changes: 2 additions & 2 deletions start_all.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# Start the first process in the background
uvicorn main:app --host 0.0.0.0 --reload &
uvicorn main:app --host 0.0.0.0 --port ${PRESTO_PORT} --reload &

# Start the second process in the foreground
# This will ensure the script won't exit until this process does
python run_worker.py &
python run_worker.py &
python run_processor.py

0 comments on commit 50e5b80

Please sign in to comment.