diff --git a/bin/import-gzip-database b/bin/import-gzip-database index aa17337..9a6cf7e 100755 --- a/bin/import-gzip-database +++ b/bin/import-gzip-database @@ -11,7 +11,7 @@ shift 1 pv "${filename}" \ | zcat \ - | docker compose exec -T database mysql \ + | docker compose exec -T "${SERVICE_NAME:-database}" mysql \ -p"${DB_PASSWORD:-app}" \ -u"${DB_USER:-app}" \ "${DB_NAME:-app}"