From 70db7ef9c8a30b022f8c89e01f02c252d8a92f35 Mon Sep 17 00:00:00 2001 From: Andreas Wittig Date: Wed, 9 Oct 2024 14:53:42 +0200 Subject: [PATCH] Fixing streaming container --- README.md | 6 +++++- mastodon.yaml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9705a1b..574f9c7 100644 --- a/README.md +++ b/README.md @@ -143,9 +143,13 @@ $ aws cloudformation deploy --template-file packaged.yml --stack-name mastodon-o Push Mastodon container image to ECR Public. ``` -MASTODON_VERSION="v4.2.12" +MASTODON_VERSION="v4.3.0" docker pull --platform linux/amd64 ghcr.io/mastodon/mastodon:${MASTODON_VERSION} docker image tag ghcr.io/mastodon/mastodon:${MASTODON_VERSION} public.ecr.aws/h6i3a8b9/mastodon:${MASTODON_VERSION} aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/h6i3a8b9 docker push public.ecr.aws/h6i3a8b9/mastodon:${MASTODON_VERSION} +docker pull --platform linux/amd64 ghcr.io/mastodon/mastodon-streaming:${MASTODON_VERSION} +docker image tag ghcr.io/mastodon/mastodon-streaming:${MASTODON_VERSION} public.ecr.aws/h6i3a8b9/mastodon-streaming:${MASTODON_VERSION} +aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/h6i3a8b9 +docker push public.ecr.aws/h6i3a8b9/mastodon-streaming:${MASTODON_VERSION} ``` \ No newline at end of file diff --git a/mastodon.yaml b/mastodon.yaml index adc5f86..0f6f905 100644 --- a/mastodon.yaml +++ b/mastodon.yaml @@ -252,8 +252,8 @@ Resources: AlertingModule: !GetAtt 'Alerting.Outputs.StackName' ClientSgModule1: !GetAtt 'ClientSg.Outputs.StackName' ManagedPolicyArns: !Ref S3Policy - AppImage: 'public.ecr.aws/h6i3a8b9/mastodon:v4.3.0' - AppCommand: 'bash,-c,node ./streaming' + AppImage: 'public.ecr.aws/h6i3a8b9/mastodon-streaming:v4.3.0' + AppCommand: 'bash,-c,node ./streaming/index.js' AppPort: '4000' AppEnvironment1Key: 'LOCAL_DOMAIN' AppEnvironment1Value: !Ref DomainName