Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.
/ mastodon-docker Public archive

Build and push assets-precompiled Mastodon Docker image using CircleCI.

License

Notifications You must be signed in to change notification settings

r7kamura/mastodon-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

mastodon-docker

Build and push assets-precompiled Mastodon Docker image using CircleCI.

Currently we support only AWS ECR as Docker image repository. Contributions are welcome to support other repositories. (e.g. Docker Hub, Quay.io, etc.)

Usage

  1. Fork this repository
  2. Enable CircleCI integration
  3. Set environment variables on CircleCI
  4. Run CircleCI job to build and push Docker image

Note: We use CircleCI build number for each built Docker image tag.

Required environment variables

AWS_ACCESS_KEY_ID

For aws ecr get-login.

AWS_DEFAULT_REGION

For aws ecr get-login.

AWS_SECRET_ACCESS_KEY

For aws ecr get-login.

AWS_ECR_URL

For docker push ${AWS_ECR_URL}:${CIRCLE_BUILD_NUM}.

Optional environment variables

MASTODON_GIT_BRANCH

Set this to build Docker image from another Mastodon Git branch.

default: master

MASTODON_GIT_URL

Set this to build Docker image from another Mastodon Git repository.

default: https://github.com/tootsuite/mastodon.git

About

Build and push assets-precompiled Mastodon Docker image using CircleCI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published