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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user