Sign inSign up

webdevops/samson-deployment

By webdevops

Updated about 8 years ago

Samson based deployment service with Ansistrano, Capistrano and PHP Deployer

Image
Security
Integration & delivery
Web servers
1

7.2K

webdevops/samson-deployment repository overview

Dockerfile

Automated built and tested on WebDevOps Build server sponsored by

Docker layout

Documentation

DockerfileDescriptionDepends on
bootstrapDistribution with ansible and some scriptsofficial docker files
baseBase containers for WebDevOps service containerswebdevops/bootstrap
base-appBase containers for WebDevOps application containerswebdevops/base
phpPHP (cli and fpm) service containerswebdevops/base-app
php-apachePHP (cli and fpm) with Apache service containerswebdevops/php
php-nginxPHP (cli and fpm) with Nginx service containerswebdevops/php
hhvmHHVM (cli and fcgi) service containerswebdevops/base-app
hhvm-apacheHHVM (cli and fcgi) with Apache service containerswebdevops/hhvm
hhvm-nginxHHVM (cli and fcgi) with Nginx service containerswebdevops/hhvm
vsftpVSFTP (ftp service) service containerwebdevops/base:latest
storageStorage (noop) containerwebdevops/base:latest
sshSSH service containerwebdevops/base:latest
postfixPostfix service containerwebdevops/base:latest
mail-sandboxMail catcher service container (catches all mails via SMTP and are accessable via IMAP)webdevops/postfix:latest
samson-deploymentSamson based deployment servicezendesk/samson
sphinxSphinx containerwebdevops/bootstrap:alpine-3
varnishVarnish containerwebdevops/base:alpine-3

Building

Local building of containers can be done with make and Makefile:

CommandDescription
sudo make setupTo Install dependancies of build chain tools
make allBuild all containers fast mode (parallel building, FAST=1)
FAST=0 make allBuild all containers slow mode (serial building)
DEBUG=1 make allShow log of build process even if process is successfull
FORCE=1 make allForce container build (docker build --no-cache ...)
WHITELIST="alpine-3 centos-7" make allBuild all container with tag alpine-3 or centos-7

make baselayoutBuild and deploy baselayout.tar
make provisionDeploy all configuration files from _provisioning/
make dist-updateUpdate local distrubtion images (CentOS, Debian, Ubuntu)
make fullRun provision and build all images

make testRun testsuite (use currently available docker images on your docker host)
make test-hub-imagesRun testsuite but pull newest docker images from docker hub first

make pushRun tests and rebuild them (use cache) and push them to docker hub
make publishRun dist-update, all with FORCE and push

make baseBuild all base containers
make serviceBuild all service containers
make phpBuild all php containers
make hhvmBuild all hhvm containers
make nginxBuild all nginx containers
make apacheBuild all apache containers
make webdevops/php-nginxBuild specific containers (as example)

Provisioning

All base inherited containers provides an modular provisioning available as simple shell scripts and ansible roles. See docker/base/README.md for more informations.

The configuration and provisioning files are build from _provisioning/ to get a consistent configuraiton for all containers. This also should reduce copy&paste errors because the configuration will be deployed automatically into containers on build process.

Tag summary

Content type

Image

Digest

sha256:ac420c8db

Size

721.4 MB

Last updated

about 8 years ago

docker pull webdevops/samson-deployment