Skip to content

Instantly share code, notes, and snippets.

@vinhlh
Last active February 7, 2017 06:31
Embed
What would you like to do?
Managing Secrets for Amazon EC2 Container Service–Based Applications
# s3 bucket for storing secrets
ENV SECRETS_BUCKET_NAME oms-services.secrets
# pull secrets data
COPY secrets-entrypoint.sh /secrets-entrypoint.sh
RUN chmod +x /secrets-entrypoint.sh
ENTRYPOINT ["/secrets-entrypoint.sh"]
# ./cyclops.conf is pulled from S3
CMD cyclops -c ./cyclops.conf -p 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment