Skip to content

Tool box for easy handling deployments with docker to a private repo.

Notifications You must be signed in to change notification settings

mario-seidel/doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

doc

Docker Deployment Script

Usage:

For example we want to build a TYPO3 environment for developing, testing and publishing the image to a production server. First we have to initialize the project by simple typing

export DOC_USERNAME=myusername

doc initproject mytypo3

This will build all needed images and you will be on a system where the development can be started immediately after the TYPO3 installation is finished.

When the built is finished you will get 2 images:

  • myusername/mytypo3:1.0
  • myusername/typo:7.6

doc up local - Brings up the containers configured in docker-compose.local.yml and mounts the sources directory as volume to the web container for local development.

doc deploy username/projectname - tags and push the image passed as second parameter (image name must exist in docker-compose.yml)

About

Tool box for easy handling deployments with docker to a private repo.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages