What is the proper way to use Deployer with docker containers? #3758
Unanswered
tomaszkane
asked this question in
Help needed
Replies: 2 comments
-
It is not proper way to deploy with Docker. Do not run you commands in container. Build an image. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It may not be the proper way, but I wrote up how I am using Deployer to deploy to a Docker container. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I use Deployer 7 to deploy projects to staging server with docker compose installed.
deploy:vendors
should run on given container.set
container name forhost
and use ownvendors
task to run something like:I saw that `{{bin/composer}} can be set. But it don't get expected result here? https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L31
And also saw this: https://stackoverflow.com/questions/51274489/how-to-use-deployer-with-docker-laradock
Beta Was this translation helpful? Give feedback.
All reactions