Skip to content

Commit

Permalink
Expose the API key/host/secret as variables for the users (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
wvangeit authored Apr 22, 2024
1 parent 240dc5a commit e61edae
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.1
current_version = 3.0.2
commit = False
message = service version: {current_version} → {new_version}
tag = False
Expand Down
4 changes: 2 additions & 2 deletions .osparc/jupyter-math/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description:
"
key: simcore/services/dynamic/jupyter-math
version: 3.0.1
version: 3.0.2
integration-version: 2.0.0
type: dynamic
authors:
Expand Down Expand Up @@ -199,4 +199,4 @@ boot-options:
description:
To start as Voila save a notebook as "voila.ipynb" in the root
folder
min-visible-inputs: 4
min-visible-inputs: 4
12 changes: 11 additions & 1 deletion .osparc/jupyter-math/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ callbacks-mapping:
inactivity:
service: container
command: ["python", "/usr/local/bin/service-monitor/activity.py"]
timeout: 1
timeout: 1
compose-spec:
version: "3.7"
services:
jupyter-math:
image: $${SIMCORE_REGISTRY}/simcore/services/dynamic/jupyter-math:$${SERVICE_VERSION}
environment:
- OSPARC_API_HOST=$${OSPARC_VARIABLE_API_HOST}
- OSPARC_API_KEY=$${OSPARC_VARIABLE_API_KEY}
- OSPARC_API_SECRET=$${OSPARC_VARIABLE_API_SECRET}
container-http-entrypoint: jupyter-math
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL = /bin/sh
.DEFAULT_GOAL := help

export DOCKER_IMAGE_NAME ?= jupyter-math
export DOCKER_IMAGE_TAG ?= 3.0.1
export DOCKER_IMAGE_TAG ?= 3.0.2


# PYTHON ENVIRON ---------------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
jupyter-math:
image: simcore/services/dynamic/jupyter-math:3.0.1
image: simcore/services/dynamic/jupyter-math:3.0.2
ports:
- "8888:8888"
environment:
Expand All @@ -13,4 +13,4 @@ services:
- /tmp/.X11-unix:/tmp/.X11-unix
- ${PWD}/validation/workspace:/home/jovyan/work/workspace
- ${PWD}/validation/inputs:/tmp/inputs
- ${PWD}/validation/outputs:/tmp/outputs
- ${PWD}/validation/outputs:/tmp/outputs

0 comments on commit e61edae

Please sign in to comment.