Use custom ports for postgres/hydra

Use custom ports so hydra and postgres can run in environments where
the default ports are in use already.
This commit is contained in:
Tobias Pflug
2020-05-14 11:49:29 +02:00
parent eb06a435ab
commit 07a4465260
6 changed files with 14 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/sh
# wait until hydra is listening on port 3000
while ! nc -z localhost 3000; do sleep 1; done
# wait until hydra is listening on port 63333
while ! nc -z localhost 63333; do sleep 1; done
hydra-queue-runner
touch .hydra-data/hydra.conf
HYDRA_CONFIG=$(pwd)/.hydra-data/hydra.conf exec hydra-queue-runner