-
Notifications
You must be signed in to change notification settings - Fork 9
Deployment
Artem Chubchenko edited this page Feb 16, 2021
·
4 revisions
- Docker for each env
- Terraform for each env
- Deploy scripts for each env
- Fill out variables in
.deploy/bin/variables.sh
- For push Nginx docker image to ECR run
.deploy/bin/build/nginx_image.sh --running-tag (staging or production)
- Manual push to staging:
- Add AWS credentials to
.deploy/bin/variables.sh
- Run
.deploy/bin/deploy/staging.sh
- Manual push to production:
- Add AWS credentials to
.deploy/bin/variables.sh
- Run
.deploy/bin/deploy/production.sh
- For autodeploy:
- add
RAILS_PRODUCTION_KEY
to CircleCI variable with production master key - add
RAILS_STAGING_KEY
to CircleCI variable with staging master key - add
AWS_ACCESS_KEY_ID
to CircleCI variable - add
AWS_SECRET_ACCESS_KEY
to CircleCI variable It will deploy to production after the merge to master. It will deploy to staging after the merge to develop.
RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfully employ other technologies to deliver the best results to our clients. Check out our portfolio for even more exciting works!