Skip to content

Commit

Permalink
ECR Public support IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed Feb 9, 2024
1 parent ede3a01 commit 75b31b0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions mastodon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Resources:
AlertingModule: !GetAtt 'Alerting.Outputs.StackName'
ClientSgModule1: !GetAtt 'ClientSg.Outputs.StackName'
ManagedPolicyArns: !Ref S3Policy
AppImage: !Sub '${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/github/mastodon:v4.2.5'
AppImage: 'public.ecr.aws/h6i3a8b9/mastodon:v4.2.5'
AppCommand: 'bash,-c,bundle exec rails db:migrate && bundle exec rails s -p 3000'
AppPort: '3000'
AppEnvironment1Key: 'LOCAL_DOMAIN'
Expand Down Expand Up @@ -233,7 +233,7 @@ Resources:
AlertingModule: !GetAtt 'Alerting.Outputs.StackName'
ClientSgModule1: !GetAtt 'ClientSg.Outputs.StackName'
ManagedPolicyArns: !Ref S3Policy
AppImage: !Sub '${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/github/mastodon:v4.2.5'
AppImage: 'public.ecr.aws/h6i3a8b9/mastodon:v4.2.5'
AppCommand: 'bash,-c,node ./streaming'
AppPort: '4000'
AppEnvironment1Key: 'LOCAL_DOMAIN'
Expand Down Expand Up @@ -305,7 +305,7 @@ Resources:
AlertingModule: !GetAtt 'Alerting.Outputs.StackName'
ClientSgModule1: !GetAtt 'ClientSg.Outputs.StackName'
ManagedPolicyArns: !Ref S3Policy
AppImage: !Sub '${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/github/mastodon:v4.2.5'
AppImage: 'public.ecr.aws/h6i3a8b9/mastodon:v4.2.5'
AppCommand: 'bash,-c,bundle exec sidekiq'
AppEnvironment1Key: 'LOCAL_DOMAIN'
AppEnvironment1Value: !Ref DomainName
Expand Down Expand Up @@ -376,7 +376,7 @@ Resources:
AlertingModule: !GetAtt 'Alerting.Outputs.StackName'
ClientSgModule1: !GetAtt 'ClientSg.Outputs.StackName'
ManagedPolicyArns: !Ref S3Policy
AppImage: !Sub '${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/github/mastodon:v4.2.5'
AppImage: 'public.ecr.aws/h6i3a8b9/mastodon:v4.2.5'
AppCommand: 'bash,-c,RAILS_ENV=production bin/tootctl media remove && RAILS_ENV=production bin/tootctl preview_cards remove'
AppEnvironment1Key: 'LOCAL_DOMAIN'
AppEnvironment1Value: !Ref DomainName
Expand Down Expand Up @@ -656,9 +656,4 @@ Resources:
Properties:
SecretAccessKey: !GetAtt 'EmailUserAccessKey.SecretAccessKey'
Region: !Ref 'AWS::Region'
ServiceToken: !GetAtt 'SmtpPasswordConverterLamdaFunction.Arn'
GitHubPullThroughCacheRule:
Type: AWS::ECR::PullThroughCacheRule
Properties:
EcrRepositoryPrefix: 'github'
UpstreamRegistryUrl: 'ghcr.io'
ServiceToken: !GetAtt 'SmtpPasswordConverterLamdaFunction.Arn'

0 comments on commit 75b31b0

Please sign in to comment.