Using Docker Compose Profiles to unit tests part of the application
📰 Dev.to · teaganga
Compose profiles let you group services so you can start only a subset of your stack for specific...
Full Article
Title: Using Docker Compose Profiles to unit tests part of the application
URL Source: https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc
Published Time: 2026-02-20T09:26:10Z
Markdown Content:
[Skip to content](https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc#main-content)
[](https://dev.to/)
[Powered by Algolia](https://www.algolia.com/developers/?utm_source=devto&utm_medium=referral)
[Log in](https://dev.to/enter?signup_subforem=1)[Create account](https://dev.to/enter?signup_subforem=1&state=new-user)
## DEV Community
1 Add reaction
1 Like 0 Unicorn 0 Exploding Head 0 Raised Hands 0 Fire
0 Jump to Comments 0 Save Boost
Copy link
Copied to Clipboard
[Share to X](https://twitter.com/intent/tweet?text=%22Using%20Docker%20Compose%20Profiles%20to%20unit%20tests%20part%20of%20the%20application%22%20by%20teaganga%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)[Share to LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc&title=Using%20Docker%20Compose%20Profiles%20to%20unit%20tests%20part%20of%20the%20application&summary=Compose%20profiles%20let%20you%20group%20services%20so%20you%20can%20start%20only%20a%20subset%20of%20your%20stack%20for%20specific...&source=DEV%20Community)[Share to Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)[Share to Mastodon](https://s2f.kytta.dev/?text=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)
[Share Post via...](https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc#)[Report Abuse](https://dev.to/report-abuse)
[](https://dev.to/teaganga)
[teaganga](https://dev.to/teaganga)
Posted on Feb 20
1
# Using Docker Compose Profiles to unit tests part of the application
[#webdev](https://dev.to/t/webdev)[#docker](https://dev.to/t/docker)[#containers](https://dev.to/t/
URL Source: https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc
Published Time: 2026-02-20T09:26:10Z
Markdown Content:
[Skip to content](https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc#main-content)
[](https://dev.to/)
[Powered by Algolia](https://www.algolia.com/developers/?utm_source=devto&utm_medium=referral)
[Log in](https://dev.to/enter?signup_subforem=1)[Create account](https://dev.to/enter?signup_subforem=1&state=new-user)
## DEV Community
1 Add reaction
1 Like 0 Unicorn 0 Exploding Head 0 Raised Hands 0 Fire
0 Jump to Comments 0 Save Boost
Copy link
Copied to Clipboard
[Share to X](https://twitter.com/intent/tweet?text=%22Using%20Docker%20Compose%20Profiles%20to%20unit%20tests%20part%20of%20the%20application%22%20by%20teaganga%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)[Share to LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc&title=Using%20Docker%20Compose%20Profiles%20to%20unit%20tests%20part%20of%20the%20application&summary=Compose%20profiles%20let%20you%20group%20services%20so%20you%20can%20start%20only%20a%20subset%20of%20your%20stack%20for%20specific...&source=DEV%20Community)[Share to Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)[Share to Mastodon](https://s2f.kytta.dev/?text=https%3A%2F%2Fdev.to%2Fteaganga%2Fusing-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc)
[Share Post via...](https://dev.to/teaganga/using-docker-compose-profiles-to-unit-tests-part-of-the-application-56cc#)[Report Abuse](https://dev.to/report-abuse)
[](https://dev.to/teaganga)
[teaganga](https://dev.to/teaganga)
Posted on Feb 20
1
# Using Docker Compose Profiles to unit tests part of the application
[#webdev](https://dev.to/t/webdev)[#docker](https://dev.to/t/docker)[#containers](https://dev.to/t/
DeepCamp AI