Skip to content

Hand-crafted artisanal Dockerfiles for non-core services

License

Notifications You must be signed in to change notification settings

deconst/services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deconst Service Dockerfiles

Hand-crafted artisanal Dockerfiles for non-core services

This repository is home to the Dockerfiles for deconst services that aren't used for software written for deconst itself, but also don't have official Docker images in the Dockerhub registry.

Curator

Docker Repository on Quay.io

This image bundles Elasticsearch Curator and some utility scripts to quickly prune old Elasticsearch indexes.

Nginx (Pod)

Docker Repository on Quay.io

An nginx server configured to proxy requests to a presenter and content service within a pod.

docker run -d \
  --volume /my-certs/:/var/ssl:ro \
  --link content:content \
  --link presenter:presenter \
  quay.io/deconst/nginx-pod

Nginx (Build)

Docker Repository on Quay.io

Another nginx server that proxies requests to a Strider container.

docker run -d \
  --volume /my-certs/:/var/ssl:ro \
  --link strider:strider \
  quay.io/deconst/nginx-build

Strider

Docker Repository on Quay.io

This image bundles Strider CD with a controlled set of plugins and build scripts that can build content and control repositories. When launched, it bootstraps Strider with a system user and a project that builds the control repository.

  • index.js implements the entrypoint that bootstraps Strider with a fixed system user account and a set of static plugins. See the Strider wiki for details about Strider initialization.
  • deconst/strider-deconst-content is the custom plugin that implements builds for content repositories.
  • deconst/strider-deconst-control is the plugin that implements the build for control repository, including the creation of content repository builds.

Configuration

Mandatory configuration values:

  • STRIDER_SYSTEM_EMAIL Email address used to identify the system user. This is primarily cosmetic.
  • GITHUB_SYSTEM_TOKEN A personal access token generated by the GitHub user that will be used for Strider cloning and GitHub interactions.
  • CONTENT_SERVICE_URL URL of the content service for this Deconst deployment.
  • ADMIN_API_KEY Content service API key with administrative credentials.
  • STAGING_PRESENTER_URL Staging presenter URL.
  • STAGING_CONTENT_SERVICE_URL URL of the staging content service for this Deconst deployment.
  • STAGING_ADMIN_API_KEY API key from the staging content service with administrative credentials.
  • CONTROL_REPO_URL Git clone URL of the control repository for this Deconst deployment.

Optional configuration values:

  • CONTROL_REPO_BRANCH Primary build branch of the control repo. Default: master
  • SLACK_WEBHOOK_URL If provided, the control repo build will notify this Slack webhook.
  • SLACK_CHANNEL If provided, this Slack channel will be notified by automatically created builds.
  • GITHUB_API_ENDPOINT Root endpoint of the GitHub API. Change this to target a GitHub: Enterprise instance. Default: https://api.github.com

About

Hand-crafted artisanal Dockerfiles for non-core services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages