Replies: 1 comment 2 replies
-
Hi, compose v2 will be supported in the next version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have following docker-compose file for local development:
when I run the command
docker-compose up -d
- it starts without any issues and I can work.In docker desktop I see following:
and container is 100% working and I can connect to apache directory studio using port 389
I want to run this docker-compose file in my integration tests (appllication uses spring boot 3):
I've added depdendencies:
And implemented following base test class:
When I start empty test that does nothing, only sleeps
I see following in docker desktop app:
The first unexpected thing is port. I expected to see
389:389
as in local docker-compose startup.Another thing - I can't even connect to that container using apache directory studio(I tried both: 58875 and 8080 but no luck)
I triefd to fix it by exposing the port:
But at this case test doesn't start at all:
I am stuck. I have no idea how can I fix it. Waiting for your ideas.
Beta Was this translation helpful? Give feedback.
All reactions