We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675af99 commit 10eb46dCopy full SHA for 10eb46d
render.yaml
@@ -3,15 +3,15 @@ services:
3
name: forgotten-api
4
runtime: go
5
plan: free
6
- buildCommand: go build -o app cmd/server/main.go
+ buildCommand: go build -tags netgo -ldflags "-s -w" -o app ./cmd/server
7
startCommand: ./app
8
autoDeploy: true
9
healthCheckPath: /health
10
envVars:
11
- key: SERVER_HOST
12
value: 0.0.0.0
13
- key: SERVER_PORT
14
- value: ${PORT}
+ value: $PORT
15
- key: SERVER_ENVIRONMENT
16
value: production
17
- key: DB_URL
0 commit comments