18 lines
463 B
Plaintext
18 lines
463 B
Plaintext
|
|
load("@this//stack:drone.star", "drone")
|
|
load("@this//stack:stack-name.star", "stackName")
|
|
load("@this//stack:stack-root.star", "stackRoot")
|
|
|
|
def main(ctx):
|
|
return drone(
|
|
ctx,
|
|
"home-deploy",
|
|
stackRoot,
|
|
stackName,
|
|
[
|
|
"docker service scale proxy_ngrok=1".format(name=stackName),
|
|
"docker service scale {name}_chat=1".format(name=stackName),
|
|
"docker service scale proxy_letsencrypt-drone=1".format(name=stackName),
|
|
]
|
|
)
|
|
|