move gitea to my-recipes, commit works
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
zerops:
|
||||
- setup: c1a
|
||||
build: &build
|
||||
base: go@1
|
||||
buildCommands:
|
||||
- go build -o app main.go
|
||||
deployFiles: app
|
||||
run: &run-data1
|
||||
base: go@1
|
||||
ports:
|
||||
- port: 8080
|
||||
httpSupport: true
|
||||
volume:
|
||||
hostname: data1
|
||||
mountPath: /mnt/data
|
||||
start: ./app
|
||||
- setup: c1b
|
||||
build: *build
|
||||
run: *run-data1
|
||||
- setup: c1c
|
||||
build: *build
|
||||
run: *run-data1
|
||||
- setup: c2a
|
||||
build: *build
|
||||
run: &run-data2
|
||||
base: go@1
|
||||
ports:
|
||||
- port: 8080
|
||||
httpSupport: true
|
||||
volume:
|
||||
hostname: data2
|
||||
mountPath: /mnt/data
|
||||
start: ./app
|
||||
- setup: c2b
|
||||
build: *build
|
||||
run: *run-data2
|
||||
- setup: c2c
|
||||
build: *build
|
||||
run: *run-data2
|
||||
Reference in New Issue
Block a user