Skip to content

Commit

Permalink
Fixing streaming container
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed Oct 9, 2024
1 parent 13f6768 commit 70db7ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
```
4 changes: 2 additions & 2 deletions mastodon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70db7ef

Please sign in to comment.