There really is too much stuff here... shouldn't really be one commit... Co-authored-by: Max Hutz <maximhutz@gmail.com> Reviewed-on: https://git1.maximhutz.com/Infrastructure/Codebase/pulls/1 Co-authored-by: Max <git@maximhutz.me> Co-committed-by: Max <git@maximhutz.me>
20 lines
422 B
Makefile
20 lines
422 B
Makefile
dev:
|
|
@ docker-compose -f compose.dev.yml up --build --force-recreate
|
|
|
|
prod:
|
|
@ docker-compose -f compose.yml up --build
|
|
|
|
init:
|
|
@ terraform -chdir=terraform init -backend-config=a2a.tfvars
|
|
|
|
plan:
|
|
@ terraform -chdir=terraform plan -var-file=a2a.tfvars
|
|
|
|
provision:
|
|
@ terraform -chdir=terraform apply -var-file=a2a.tfvars
|
|
|
|
deploy:
|
|
@ ./scripts/deploy.sh
|
|
|
|
destroy:
|
|
@ terraform -chdir=terraform destroy -var-file=a2a.tfvars
|