changes
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
services:
|
||||
-
|
||||
- hostname: storage
|
||||
type: object-storage
|
||||
objectStorageSize: 5
|
||||
- hostname: nginx
|
||||
type: nginx@latest
|
||||
envSecrets:
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
node_modules
|
||||
package-lock.json
|
||||
app
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
- hostname: app2
|
||||
- hostname: app
|
||||
type: alpine@latest
|
||||
maxContainers: 1
|
||||
buildFromGit: https://github.com/tikinang/godummy
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
zerops:
|
||||
- setup: app
|
||||
build:
|
||||
os: alpine
|
||||
os: ubuntu
|
||||
base: go@latest
|
||||
buildCommands:
|
||||
- go build -o app main.go
|
||||
@@ -9,8 +9,8 @@ zerops:
|
||||
deployFiles:
|
||||
- app
|
||||
run:
|
||||
os: alpine
|
||||
base: alpine@latest
|
||||
os: ubuntu
|
||||
base: ubuntu@latest
|
||||
ports:
|
||||
- port: 8080
|
||||
httpSupport: true
|
||||
|
||||
Reference in New Issue
Block a user