Change add.sh to use credentials from docker-compose.yml
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
163aa33717
commit
156d925215
|
@ -76,5 +76,8 @@ services:
|
|||
- ${DATA_MOUNT_PATH}:${DATA_MOUNT_PATH}:ro
|
||||
depends_on:
|
||||
- db
|
||||
command: >-
|
||||
-format postgres -pg_table entries -pg_mode insert_binary
|
||||
-pg_connstr "user=orbeat password=orbeat dbname=orbeat sslmode=disable host=db"
|
||||
tmpfs:
|
||||
- /tmp
|
|
@ -10,5 +10,5 @@ if [[ "$1" != "" ]]; then
|
|||
DIR="$1"
|
||||
fi
|
||||
|
||||
find "${DIR}" -type f | docker-compose run --rm srg -format postgres -pg_table entries -pg_mode insert_binary -pg_connstr "user=orbeat password=orbeat dbname=orbeat sslmode=disable host=db"
|
||||
find "${DIR}" -type f | docker-compose run --rm -T srg
|
||||
|
||||
|
|
Loading…
Reference in a new issue