Another attempt via dhcp

This commit is contained in:
Cian Hughes
2024-01-12 19:00:38 +00:00
parent 7045ec3d45
commit 076e558e75
3 changed files with 6 additions and 6 deletions

6
deploy
View File

@@ -81,9 +81,9 @@ def deploy_stack(username: str, password: str, stack_name: Optional[str] = "stac
stacks = portainer.StacksApi(client)
# Then, deploy the substacks using the API
print("Deploying substacks via portainer API")
# portainer_deploy_stack("networks", stacks, endpoint_id)
# portainer_deploy_stack("volumes", stacks, endpoint_id)
# portainer_deploy_stack("backend", stacks, endpoint_id)
portainer_deploy_stack("networks", stacks, endpoint_id)
portainer_deploy_stack("volumes", stacks, endpoint_id)
portainer_deploy_stack("backend", stacks, endpoint_id)
portainer_deploy_stack("frontend", stacks, endpoint_id)
print("Stack deployed!")