Fix Input Device Is Not a TTY with Docker Compose in CI

We'll get things to dynamically work with stdin and stdout and allow reusing Docker Compose commands when a TTY is available.