add go with db
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
zerops:
|
||||
- setup: app
|
||||
build:
|
||||
os: ubuntu
|
||||
base: go@latest
|
||||
buildCommands:
|
||||
- go build -o app main.go
|
||||
cache: true
|
||||
deployFiles:
|
||||
- app
|
||||
run:
|
||||
os: ubuntu
|
||||
base: ubuntu@latest
|
||||
envVariables:
|
||||
DATABASE_CONNECTION_STRING: ${db_connectionString}/${db_dbName}
|
||||
ports:
|
||||
- port: 8080
|
||||
httpSupport: true
|
||||
start: ./app
|
||||
Reference in New Issue
Block a user