feat: update default service names
This commit is contained in:
@@ -34,8 +34,7 @@ fn main() -> Result<()> {
|
||||
cli::Django::Test => scripts::django::test(),
|
||||
},
|
||||
cli::Commands::Postgres { command } => {
|
||||
let db_container =
|
||||
std::env::var("AHAB_POSTGRES_CONTAINER").unwrap_or("postgresdb".to_string());
|
||||
let db_container = std::env::var("AHAB_POSTGRES_CONTAINER").unwrap_or("db".to_string());
|
||||
match command {
|
||||
cli::Postgres::Import { path } => scripts::postgres::import(&db_container, &path),
|
||||
cli::Postgres::Dump { path } => scripts::postgres::dump(&db_container, &path),
|
||||
|
||||
Reference in New Issue
Block a user