A Buildout recipe to generate a Dockerfile for Birdhouse applications.
Project description
Introduction
birdhousebuilder.recipe.docker is a Buildout recipe to generate a Dockerfile for Birdhouse applications.
Usage
The recipe will generate a Dockerfile for your Birdhouse application. You can find the Dockerfile in the root folder of the application.
Supported options
This recipe supports the following options:
- app
The name of your application. Default: birdhouse
- maintainer
The maintainer of the Dockerfile.
- description
Description of the Dockerfile.
- vendor
The vendor of the application. Default: Birdhouse
- version
The version of the application. Default: 1.0.0
- hostname
The hostname of the docker container. Default: localhost
- http-port
The HTTP port of the app service. Default: 8080
- https-port
The HTTPS port of the app service. Default: 8443
- output-port
The WPS output port of the wps apps service. Default: 8000
Example usage
The following example buildout.cfg generates a Dockerfile:
[buildout]
parts = docker
[docker]
recipe = birdhousebuilder.recipe.docker
app = emu
maintainer = Birdhouse
description = Emu WPS Application
version = 0.5.0
hostname = emu-demo.local
http-port = 8094
output-port = 38094
Changes
0.5.3 (2017-05-11)
added volume for etc/ in Dockerfile.
0.5.2 (2016-10-21)
changed default ports, generate .env file for docker-compose
0.5.1 (2016-10-20)
fix folder permissions of etc/ and var/run/ in Dockerfile.
0.5.0 (2016-10-19)
update recipe to buildout deployment.
simplified Dockerfile.
removed custom.cfg template.
0.4.8 (2015-12-23)
update readme.
fixed settings and buildout-options.
0.4.7 (2015-12-23)
fixed /data volume permissions.
added update-user as default command.
add buildout-options for docker.cfg.
added default envs hostname and user.
0.4.6 (2015-12-22)
using only volume /data for /var/lib in Dockerfile.
0.4.5 (2015-12-17)
fixed command generation in Dockerfile.
0.4.4 (2015-12-16)
added command option.
custom.cfg for docker is copied to .docker.cfg.
added .dockerignore file.
0.4.3 (2015-12-15)
added settings option to generate a custom.cfg for docker image.
0.4.2 (2015-12-14)
added git-url, git-branch, subdir and buildout-cfg options.
0.4.1 (2015-12-10)
fixed setting of EXPOSE in Dockerfile.
0.4.0 (2015-12-10)
added environment and expose options.
enabled travis.
0.3.2 (2015-09-25)
fixed malleefowl default port in dockerfile template.
changed dockerfile volumes.
0.3.1 (2015-09-24)
updated Dockerfile template.
added output-port option.
0.3.0 (2015-09-22)
updated Dockerfile template.
more options added.
0.2.2 (2015-08-05)
cleaned up … removed conda dependency.
update to buildout 2.x.
0.2.1 (2015-04-13)
Updated Dockerfile template for CentOS builds (sudo was missing).
0.2.0 (2015-03-16)
Updated Dockerfile template for birdhouse environments.
0.1.1 (2014-11-13)
Updated Dockerfile template … starts only supervisord.
Fixed example in Readme.
0.1.0 (2014-11-05)
Initial Release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for birdhousebuilder.recipe.docker-0.5.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb1f0b3f125ccc88920e7fd8f3a1de5bd4551c732d624361b50dfbb9724419b |
|
MD5 | 01e5ea92817669364b48fe446c485941 |
|
BLAKE2b-256 | 78d77eab5be17770c01c7b7b43b5691178afbf4e856a153bdbf09d74bbe3d05b |