Make util scripts work on both docker-compose v1 and v2
This commit is contained in:
@@ -2,4 +2,7 @@
|
||||
|
||||
# Open SQL console for the database
|
||||
|
||||
docker exec -it contentdb_db_1 psql contentdb contentdb
|
||||
set -e
|
||||
. "${BASH_SOURCE%/*}/common.sh"
|
||||
|
||||
docker exec -it "$(container db)" psql contentdb contentdb
|
||||
|
||||
Reference in New Issue
Block a user