Skip to content

SavvySoftWorksLLC/continuous-laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Dockerized (SavvySoftWorks edition)

What's inside

Requirements

Running

Set up a Docker Machine and then run:

Make sure that nothing is using port 80 first

netstat -an | grep "\.80" | grep LISTEN
$ docker-compose build
$ docker-compose create
$ docker-compose start

If you receive an error about networks or containers that don't exist do this Wait until MySQL init process done. Ready for start up. happens before CTRL-C.

$ docker-compose up
$ docker-compose stop
$ docker-compose create
$ docker-compose start

From then on you can just run

docker-compose start

Or

$ docker-compose stop

Deploy

Automated

There is an automated deploy hook that can be copied or sym-linked to the deploy repo in ./bin/hooks/post-receive.

Manual

  • Push your changes to the deployment remote
  • SSH to the server and naviate to the flexcore-enterprise directory
  • Navigate to application/deploy
  • Pull from local repo with git pull
  • run $sudo docker-compose build deploy && sudo docker-compose create deploy && sudo docker-compose start deploy

About

Continuous Delivery for Laravel orchestrated with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published