Defining a host
A manifest can define one host. A manifest which defines a host cannot be used in
extends.
A host definition has the following attributes:
nameThe IP or hostname of the server.
portThe SSH port on the server.
Default:
22userUsername for login
homeHome dir for user
Default:
/home/{user}/, where{user}is replaced by the username defined in theuserattribute.root_pathPath to docker0s working dir on the server
Should be absolute or relative to the connecting user’s home directory, but do not use tildes.
compose_commandDocker compose command.
Default:
docker-compose
Example YAML:
host:
name: example.com
port: 2222
user: example
root_path: /var/docker0s
compose_command: "docker compose"