changes
This commit is contained in:
@@ -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,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
app
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user