Skip to content

Docker image to use Deployer (Deployment tool for PHP) without the need to have PHP on your host

Notifications You must be signed in to change notification settings

omouren/docker-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

docker-deployer

Docker image to use Deployer (Deployment tool for PHP) without the need to have PHP on your host.

See Deployer.org

On GitHub : deployphp/deployer

How to use

See on Docker Hub

# To run "dep"
$ docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest
# To run "dep init"
$ docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest init
# To run "dep deploy" with SSH Agent Forwarding
$ docker run --rm -ti -v $PWD:/app -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK omouren/docker-deployer:latest deploy

Alias

Now just add an alias to use it more simply (in your ~/.bash_aliases for example)

alias dep="docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest"
# Or
alias dep="docker run --rm -ti -v $PWD:/app -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK omouren/docker-deployer:latest"

About

Docker image to use Deployer (Deployment tool for PHP) without the need to have PHP on your host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published