Skip to content

Commit

Permalink
app engine settings (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinDFuller authored Jan 4, 2024
1 parent 6544999 commit 7ff5e0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .appengine/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ service: default

automatic_scaling:
max_instances: 1
min_instances: 0
max_idle_instances: 0
min_idle_instances: 0

handlers:
- url: /image
Expand Down
3 changes: 2 additions & 1 deletion .gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
# Test binary, build with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
*.out
node_modules
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ format-watch:
.PHONY: deploy
deploy: build
@echo ${COLOR_GRAY}Begin gcloud app deploy.${COLOR_NC};
@gcloud app deploy;
@gcloud app deploy --appyaml=./.appengine/app.yaml;

.PHONY: build
build: validate tidy generate vet format lint
Expand Down

0 comments on commit 7ff5e0b

Please sign in to comment.