Skip to content

Commit

Permalink
Fix API init
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Jul 24, 2023
1 parent 37e2bec commit 455b7da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ COPY README.md README.md
ENV REDIS_HOST redis
ENV REDIS_PORT 6379

WORKDIR /workers
WORKDIR /service
CMD rq worker --url redis://$REDIS_HOST:$REDIS_PORT high default low
3 changes: 2 additions & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
build:
context: ..
dockerfile: docker/Dockerfile
command: uvicorn service.server:app --reload --host 0.0.0.0 --port 8000
command: uvicorn server:app --reload --host 0.0.0.0 --port 8000
ports:
- "8010:8000"
env_file:
Expand Down Expand Up @@ -38,5 +38,6 @@ services:
- ../api.env
depends_on:
- redis
- api
networks:
- pyciemss
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyciemss-service"
version = "0.1.0"
version = "1.6.0"
description = "PyCIEMSS simulation service to run CIEMSS simulations"
authors = ["Powell Fendley", "Five Grant"]
readme = "README.md"
Expand Down

0 comments on commit 455b7da

Please sign in to comment.