-
Hi @dasniko, I'm using your project to test keycloak app with customised auth flow. I successfully added custom spi to test container, but faced with the issue: My project docker-compose contains the following volumes:
I didn't found how to add those volumes. Is there correct way to map volumes to our test container? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Arbitrary volume mapping is not related to the Keycloak container, but to the core Testcontainers framework. See the official docs on how to map volumes to your container: https://www.testcontainers.org/features/files/ The Keycloak testcontainer only offers some convenient wrapper methods to add custom classes and custom dependencies. These methods also rely on the core mapping features. |
Beta Was this translation helpful? Give feedback.
-
I got it, Niko! Thanks for your time, sorry for carelessness. Found the answer later :) |
Beta Was this translation helpful? Give feedback.
Arbitrary volume mapping is not related to the Keycloak container, but to the core Testcontainers framework. See the official docs on how to map volumes to your container: https://www.testcontainers.org/features/files/
The Keycloak testcontainer only offers some convenient wrapper methods to add custom classes and custom dependencies. These methods also rely on the core mapping features.