$ COMPOSE_DOCKER_CLI_BUILD=1 docker-compose build
$ docker-compose up -d
Build Nginx docker image, and push to ECR.
./scripts/ecr-nginx.sh
Create AWS resources (ex. VPC, ALB, Farge, RDS) with AWS Copilot.
$ ./scripts/copilot-init.sh <env> <domain>
Manual deploy admin
endpoint service.
./scripts/copilot-admin-deploy.sh <env>
# turn on maintenance mode
$ copilot svc exec --app chronos --command 'bin/maintenance on'
# turn off maintenance mode
$ copilot svc exec --app chronos --command 'bin/maintenance off'
$ ./scripts/copilot-delete.sh
Running a deployment workflow using GitHub CLI.
$ gh workflow run
? Select a workflow [Use arrows to move, type to filter]
> Deploy service with AWS Copilot (deploy.yml)