add go with db

This commit is contained in:
2026-04-08 11:02:14 +02:00
parent 20a8b93711
commit 556d2d589e
8 changed files with 111 additions and 2 deletions
+19
View File
@@ -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