26 lines
696 B
YAML
26 lines
696 B
YAML
---
|
|
# Generic, repeatable defaults for Swarm stack deployment.
|
|
# Required vars are intentionally empty and must be provided per service.
|
|
|
|
stack_name: ""
|
|
stack_compose_src: ""
|
|
|
|
# Optional stack deploy behavior
|
|
stack_state: present
|
|
stack_validate_only: false
|
|
stack_prune: true
|
|
stack_with_registry_auth: true
|
|
|
|
# Target path on manager node where stack artifacts are stored
|
|
stack_deploy_root: "/opt/stacks"
|
|
stack_compose_filename: "stack.yml"
|
|
stack_env_src: ""
|
|
stack_env_filename: ".env"
|
|
|
|
# Optional directories to create before deploy (for bind-mount paths)
|
|
stack_required_directories: []
|
|
|
|
# Optional external swarm networks that must already exist
|
|
stack_required_external_networks:
|
|
- "proxy-net"
|