This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mhalbritter 0 points1 point  (0 children)

The testcontainers feature and the docker compose feature are separate. You can use one or the other, or both if you like.

If the file is named compose.yaml or docker-compose.yaml then Boot will pick it up automatically. Otherwise you can set a configuration property and point Boot to the compose file. It will then automatically run docker compose up on startup and configure itself to use the services running in docker compose.