This commit is contained in:
2026-03-31 11:03:01 +02:00
parent d8e4cc611d
commit 20a8b93711
4 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
services: services:
- - hostname: storage
type: object-storage
objectStorageSize: 5
- hostname: nginx - hostname: nginx
type: nginx@latest type: nginx@latest
envSecrets: envSecrets:
+1
View File
@@ -1,2 +1,3 @@
node_modules node_modules
package-lock.json package-lock.json
app
+1 -1
View File
@@ -1,5 +1,5 @@
services: services:
- hostname: app2 - hostname: app
type: alpine@latest type: alpine@latest
maxContainers: 1 maxContainers: 1
buildFromGit: https://github.com/tikinang/godummy buildFromGit: https://github.com/tikinang/godummy
+3 -3
View File
@@ -1,7 +1,7 @@
zerops: zerops:
- setup: app - setup: app
build: build:
os: alpine os: ubuntu
base: go@latest base: go@latest
buildCommands: buildCommands:
- go build -o app main.go - go build -o app main.go
@@ -9,8 +9,8 @@ zerops:
deployFiles: deployFiles:
- app - app
run: run:
os: alpine os: ubuntu
base: alpine@latest base: ubuntu@latest
ports: ports:
- port: 8080 - port: 8080
httpSupport: true httpSupport: true