feat: pg_isready in postgres import
Fixed issue where arguments passed to `compose stop` weren't passed to the underlying command. Added pg_isready call between each command call in restore script.
This commit is contained in:
@@ -30,7 +30,7 @@ pub fn ps() -> Result<()> {
|
||||
/// `docker compose --env-file ./.env -f docker/local/docker-compose.yaml up start`
|
||||
pub fn start(containers: Option<&str>) -> Result<()> {
|
||||
let args = format!("start {}", containers.unwrap_or(""));
|
||||
CommandBuilder::docker_compose().args("start").exec()
|
||||
CommandBuilder::docker_compose().args(&args).exec()
|
||||
}
|
||||
|
||||
pub fn stop() -> Result<()> {
|
||||
|
Reference in New Issue
Block a user