mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 10:14:35 +01:00
Better postgres and proxy readyness check by deleting _ready file first
This commit is contained in:
@@ -9,7 +9,8 @@ services:
|
||||
postgres:
|
||||
image: postgres:<%= postgres_version %>
|
||||
user: $USER
|
||||
command: -c logging_collector=true -c log_directory=/cnlogs/
|
||||
entrypoint: sh -c 'rm -f /container_monitor/postgres_ready ; docker-entrypoint.sh -c logging_collector=true -c log_directory=/cnlogs/'
|
||||
# command: -c logging_collector=true -c log_directory=/cnlogs/
|
||||
environment:
|
||||
- "POSTGRES_USER=cyphernode"
|
||||
- "POSTGRES_PASSWORD=<%= postgres_password %>"
|
||||
|
||||
@@ -66,6 +66,8 @@ if [ "${returncode}" -ne "0" ]; then
|
||||
exit ${returncode}
|
||||
fi
|
||||
|
||||
rm -f /container_monitor/proxy_ready
|
||||
|
||||
chmod 0600 $DB_FILE
|
||||
|
||||
createCurlConfig ${WATCHER_BTC_NODE_RPC_CFG} ${WATCHER_BTC_NODE_RPC_USER}
|
||||
|
||||
Reference in New Issue
Block a user