Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to use my current docker compose yml in pipeline

nexus_hardik June 14, 2019

Hello 

 

i have my compose.yml  so how can i use it in pipeline.

 

thank you.

1 answer

1 accepted

0 votes
Answer accepted
Tom Bradshaw
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2019

Hi @nexus_hardik

You'll need to install a docker-compose binary compatible with your specified image and then enable docker in pipelines. From that point onwards you should be able to run `docker-compose up` normally.

Instructions for enabling docker in pipelines can be found here https://confluence.atlassian.com/bitbucket/run-docker-commands-in-bitbucket-pipelines-879254331.html.

An example of someone else doing this can be found here https://medium.com/magnetcoop/using-docker-compose-in-bitbucket-pipelines-81ead8cf0153.

If you have any questions let me know.

Cheers,

Tom.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events