Skip to content

Commit

Permalink
update to gateway to path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 18, 2025
1 parent 38eee9a commit 25a2136
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
# build:
# context: .
# dockerfile: ./gateway/Dockerfile-gateway
image: ghcr.io/biosimulators/bio-compose-server-gateway:0.0.10-dev
image: ghcr.io/biosimulators/bio-compose-server-gateway:0.0.11-dev
# STABLE is 0.0.5-dev
container_name: gateway
networks:
Expand Down
5 changes: 1 addition & 4 deletions gateway/Dockerfile-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ RUN conda run -n server bash -c "\
poetry lock && \
poetry install"

# expose for gateway
EXPOSE 8000

ENTRYPOINT ["/entrypoint.sh"]

CMD ["uvicorn", "gateway.main:app", "--port", "8000", "--host", "0.0.0.0", "--reload"]
CMD ["uvicorn", "gateway.main:app", "--port", "3001", "--host", "0.0.0.0", "--reload"]
2 changes: 1 addition & 1 deletion kustomize/base/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
name: gateway-secrets
key: google-application-credentials
ports:
- containerPort: 8000
- containerPort: 3001
volumeMounts:
- name: gateway-secrets
mountPath: /run/secrets/gateway-secrets
Expand Down

0 comments on commit 25a2136

Please sign in to comment.