Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r7kamura/mastodon-docker
Build and push assets-precompiled Mastodon Docker image using CircleCI.
https://github.com/r7kamura/mastodon-docker
docker mastodon
Last synced: 29 days ago
JSON representation
Build and push assets-precompiled Mastodon Docker image using CircleCI.
- Host: GitHub
- URL: https://github.com/r7kamura/mastodon-docker
- Owner: r7kamura
- License: mit
- Created: 2017-04-19T06:23:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T18:04:51.000Z (about 5 years ago)
- Last Synced: 2024-05-01T23:21:45.516Z (7 months ago)
- Topics: docker, mastodon
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# mastodon-docker
Build and push assets-precompiled [Mastodon](https://github.com/tootsuite/mastodon) Docker image using [CircleCI](http://circleci.com/).
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
1. Enable CircleCI integration
1. Set environment variables on CircleCI
1. Run CircleCI job to build and push Docker imageNote: 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`