gematik / ref-idp-server

Der Gematik IDP-Server dient zur Identifizierung von Versicherten und Leistungserbringenden Organisationen.
Apache License 2.0
22 stars 5 forks source link

Provide a running local docker-compose setup #4

Closed DaMo86 closed 1 year ago

DaMo86 commented 2 years ago

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.

florianschiller commented 2 years ago

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

dd52 commented 2 years ago

+1

RStaeber commented 2 years ago

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

DaMo86 commented 2 years ago

Any news here @RStaeber ?

RStaeber commented 2 years ago

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.

manuelbaumann-oviva commented 2 years ago

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

RStaeber commented 2 years ago

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 commented 1 year ago

There is a published docker image.