Narnik Gamarnik
Narnik Gamarnik

Reputation: 1121

How to run docker-compose up on deploy

I have docker-compose file, and I want to send it to Heroku, to then executedocker-compose up -d --build.

I found more than a hundred examples of how to do something like heroku container:push web, but this is not what I need.

Now I have only 5 services in docker-compose, but what do I do, when they will be 30?

Upvotes: 1

Views: 4396

Answers (1)

Beppe C
Beppe C

Reputation: 14003

docker-compose is not supported but Heroku provides heroku.yml to deal with multiple images:

https://devcenter.heroku.com/articles/build-docker-images-heroku-yml

Upvotes: 5

Related Questions