feat(scripts): name the service name configurable
This commit is contained in:
parent
2a5cc1253d
commit
9980f80e0b
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue