Last active
February 7, 2017 06:31
-
-
Save vinhlh/0206afeca5bff796946753c62bdb3461 to your computer and use it in GitHub Desktop.
Managing Secrets for Amazon EC2 Container Service–Based Applications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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