We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a562fa1 commit 468cedcCopy full SHA for 468cedc
@app/db/scripts/dump-db
@@ -3,7 +3,9 @@ if [ "$GM_DBURL" = "" ]; then
3
echo "This script should only be ran from inside graphile-migrate";
4
exit 1;
5
fi
6
-pg_dump \
+
7
+# When ran inside docker-compose we need to be able to run a different pg_dump binary
8
+${PG_DUMP:-pg_dump} \
9
--no-sync \
10
--schema-only \
11
--no-owner \
docker-compose.builder.yml
@@ -3,6 +3,9 @@ services:
base:
image: node:10
user: $UID
+ environment:
+ # pg_dump doesn't work in docker-compose mode currently
+ - PG_DUMP=echo pg_dump
volumes:
- .:/app
- .docker/node_modules:/app/node_modules
0 commit comments