Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

pact-broker-docker

It is built using pact_broker rubygems.

It is configured for use with Postgres database. The details of the db instance and its credentials are passed using the environment variables mentioned below.

This is build with deploying to aws elastic bean stalk in mind, so doesn't have nginx included in it.

Usage instructions

For running the docker image generated by this, following environment variables required.

PACT_BROKER_DATABASE_USERNAME
PACT_BROKER_DATABASE_PASSWORD
PACT_BROKER_DATABASE_HOST
PACT_BROKER_DATABASE_NAME

These variables can be either passed along with docker run command or permanently set up on eb like environment where it will be deployed.

Deploying on aws elastic bean stalk

It just should require a new Dockerfilerun.aws.json like below - you should be all good to go

{
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "kpadmanabhan/pact-broker-docker",
    "Update": "true"
  },
  "Logging": "/var/log/nginx"
}

Vagrant users note

There are place holders in vagrant file to capture above mentioned env variable, substitute with actual values.

Docker Pull Command
Owner
kpadmanabhan
Source Repository

Comments (0)