ref-idp-server icon indicating copy to clipboard operation
ref-idp-server copied to clipboard

Provide a running local docker-compose setup

Open DaMo86 opened this issue 2 years ago • 7 comments

According to the .gitignore, it looks like there is already a running docker-compose setup given in your internal environment.

It would be great if there is a way to share this setup and allow a simple and easy local development and testing environment for everyone.

DaMo86 avatar Jul 22 '22 09:07 DaMo86

I'm also interested in a docker-compose file. It's a pity that this is missing so far.

florianschiller avatar Aug 02 '22 07:08 florianschiller

+1

dd52 avatar Aug 10 '22 12:08 dd52

You are right. We will provide docker support in a few days. Robert, gematik

RStaeber avatar Aug 10 '22 13:08 RStaeber

Any news here @RStaeber ?

DaMo86 avatar Sep 14 '22 13:09 DaMo86

Sorry, I thought it was done. All files compose* have been ignored. My fault. Little fix release is just in progress and will come today.

RStaeber avatar Sep 15 '22 06:09 RStaeber

Hi @RStaeber The provided docker compose file lacks read access to the Google Artefact Registry.

Pulling idpserver (eu.gcr.io/gematik-all-infra-prod/idp/idp-server:21.0.1)... ERROR: Head "https://eu.gcr.io/v2/gematik-all-infra-prod/idp/idp-server/manifests/21.0.1": denied: Permission "artifactregistry.repositories.downloadArtifacts" denied on resource "projects/gematik-all-infra-prod/locations/europe/repositories/eu.gcr.io" (or it may not exist)

Workaround, build and run according to "build image of Idp-Server" and "start container".

Then also running via docker compose file works.

In case you run on Apple M1, replace image: mysql:8.0.22 with image: mariadb:10.8 in docker-compose-ref.yml

manuelbaumann-oviva avatar Sep 21 '22 14:09 manuelbaumann-oviva

Yes, there is no image on docker hub this time. You have to build (as you wrote already) before using the compose file. I created an internal ticket to provide the image on docker hub. Stay tuned :-)

RStaeber avatar Sep 22 '22 14:09 RStaeber

There is a published docker image.

RStaeber avatar Dec 13 '22 14:12 RStaeber