Merge pull request #1 from rberrelleza/develop-on-okteto

Signed-off-by: Ramiro Berrelleza <rberrelleza@gmail.com>
This commit is contained in:
Ramiro Berrelleza 2020-09-09 17:25:31 -07:00
commit 175ce9ef4e
No known key found for this signature in database
GPG key ID: 8F443F5203A4B9A3
7 changed files with 88 additions and 88 deletions

16
src/frontend/.stignore Normal file
View file

@ -0,0 +1,16 @@
.git
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with go test -c
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# dlv binary
__debug_bin
vendor

21
src/frontend/okteto.yml Normal file
View file

@ -0,0 +1,21 @@
name: frontend
image: ramiro/frontend:okteto
command:
- sh
workdir: /go/src/github.com/GoogleCloudPlatform/microservices-demo/src/frontend
forward:
- 2345:2345
- 8080:8080
volumes:
- /go/pkg/
- /root/.cache/go-build/
persistentVolume:
enabled: true
resources:
limits:
cpu: "1"
memory: 2Gi
securityContext:
capabilities:
add:
- SYS_PTRACE