GithubHelp home page GithubHelp logo

concourse-ecs's Introduction

Concourse-ECS

Wrapper script which writes environment variables to files and starts concourse. Useful if you want to store your SSH keys in the environment instead of a data volume when running in ECS.

Usage

Files can be created from environment variables matching the pattern FILE_n_PATH and FILE_n_CONTENTS. For example, the value of FILE_1_CONTENTS will be written to the value of FILE_1_PATH. n starts at 1 and ends when the environment variable doesn't exist.

Environment Variable Description
FILE_n_PATH The name of the file to create
FILE_n_CONTENTS The contents of the file

Multiple pairs of environment variables can be specified.

Example ECS Config

Environment Variable Value
CONCOURSE_BASIC_AUTH_USERNAME main
CONCOURSE_BASIC_AUTH_PASSWORD example
CONCOURSE_EXTERNAL_URL https://concourse.example.com
CONCOURSE_POSTGRES_DATA_SOURCE postgres://concourse:concourse@postgers-rds:5432/concourse
CONCOURSE_SESSION_SIGNING_KEY /concourse-keys/session_signing_key
FILE_1_PATH /concourse-keys/session_signing_key
FILE_1_CONTENTS -----BEGIN RSA PRIVATE KEY-----
[...]
-----END RSA PRIVATE KEY-----
CONCOURSE_TSA_HOST_KEY /concourse-keys/tsa_host_key
FILE_2_PATH /concourse-keys/tsa_host_key
FILE_2_CONTENTS -----BEGIN RSA PRIVATE KEY-----
[...]
-----END RSA PRIVATE KEY-----
CONCOURSE_TSA_AUTHORIZED_KEYS /concourse-keys/authorized_worker_keys
FILE_3_PATH /concourse-keys/authorized_worker_keys
FILE_3_CONTENTS ssh-rsa [...] concourse@example

concourse-ecs's People

Contributors

literatesnow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.