Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Distribute docker image of frontend on dockerhub #23

Open
pozsa opened this issue Dec 16, 2020 · 2 comments
Open

Distribute docker image of frontend on dockerhub #23

pozsa opened this issue Dec 16, 2020 · 2 comments
Assignees

Comments

@pozsa
Copy link

pozsa commented Dec 16, 2020

Would be great to be able to pull the frontend along with all the other services of the portal.
I believe it is currently missing here: https://hub.docker.com/u/panosc.

@anne-pc anne-pc self-assigned this Dec 16, 2020
@pozsa
Copy link
Author

pozsa commented Jan 5, 2021

Hi @NoobAdmin do you have an ETA on this?

@anne-pc
Copy link
Collaborator

anne-pc commented Jan 5, 2021

Hi @pozsa, it's not that time expensive task, I just wanted to roll it out along with an ui update. And since search api doesn't have a docker image either (that I know of) and the two are tightly coupled, I wasn't really rushing it. I'll try to provide the the image (or ideally both) by tomorrow evening. Is that okay for you? However, there's a dockerfile in the repo already that should be working fine provided you add the nescessary environment variables.

EDIT: You can now use the dockerfile in the develop branch as follows:

docker build --tag name:x.x . \
--build-arg="SEARCH=<SEARCH_API>/api" \
--build-arg="API=<CLOUD_SERVICE>/portal/api/v1" \
--build-arg="DESKTOP_WEB=<DESKTOP_SERVICE>/instances" \
--build-arg="KEYCLOAK_URL=<KEYCLOAK_URL>/auth" \
--build-arg="KEYCLOAK_REALM=<REALM_NAME>" \
--build-arg="KEYCLOAK_CLIENT_ID=<CLIENT_ID>" \
--build-arg="TOKEN_VALID_DURATION_S=<CLOUD_SERVICE_INSTANCE_TOKEN_LIFESPAN>"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants