Documentation
¶
Overview ¶
Package remote runs docker compose on a host over SSH (readme §4.5).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunDockerCompose ¶
RunDockerCompose runs `docker compose` in cfg.RemotePath on the remote host.
func RunDockerComposeClient ¶
func RunDockerComposeClient(client *ssh.Client, cfg *config.Config, composeFileOverride string, tty, rawLocalStdin bool, composeArgs ...string) error
RunDockerComposeClient runs `docker compose` using an existing SSH client (same session as SFTP deploy). If composeFileOverride is non-empty, it is passed as -f instead of cfg.ComposeFile. rawLocalStdin should be true only for interactive exec (dq exec bash): Ctrl+D and signals behave correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.