generated from Sage-Bionetworks/aws-application-deployment-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from brucehoff/dev
PLFM-8554: Run Synapse Docker registry using ECS
- Loading branch information
Showing
17 changed files
with
338 additions
and
182 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Creates a configuration of the open source Docker registry | ||
# suitable for using with Synapse | ||
# | ||
# | ||
FROM registry:2 | ||
# stack is dev or prod | ||
ARG stack=dev | ||
|
||
# switches between 'dev' and 'prod' | ||
COPY resources/${stack}/config.yml /etc/docker/registry/config.yml | ||
COPY resources/${stack}/token_signing_key_public_cert.pem /etc/docker/registry/token_signing_key_public_cert.pem | ||
# the self-signed cert' and private key should be generated before running 'docker build' | ||
# see the github workflow for an example of how to do this | ||
COPY privatekey.pem /etc/docker/registry/ssl/privatekey.pem | ||
COPY certificate.pem /etc/docker/registry/ssl/certificate.pem | ||
|
||
COPY startup.sh /startup.sh | ||
|
||
ENTRYPOINT ["/startup.sh"] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
CONTEXT_ENVS = ["dev", "staging", "prod"] | ||
CONTEXT_ENVS = ["dev", "prod"] | ||
TAGS_CONTEXT = "TAGS" | ||
STACK_NAME_PREFIX_CONTEXT = "STACK_NAME_PREFIX" |
Oops, something went wrong.