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 1941411 commit d25f7feCopy full SHA for d25f7fe
docker/Dockerfile
@@ -63,6 +63,7 @@ ENV postgres_host ""
63
ENV postgres_user ""
64
ENV postgres_pass ""
65
ENV postgres_db ""
66
+ENV postgres_args "sslmode=prefer"
67
# The full URL to the IPFS node
68
ENV ipfs ""
69
# The etherum network(s) to connect to. Set this to a space-separated
docker/start
@@ -65,7 +65,7 @@ run_graph_node() {
else
unset GRAPH_NODE_CONFIG
postgres_port=${postgres_port:-5432}
- postgres_url="postgresql://$postgres_user:$postgres_pass@$postgres_host:$postgres_port/$postgres_db?sslmode=prefer"
+ postgres_url="postgresql://$postgres_user:$postgres_pass@$postgres_host:$postgres_port/$postgres_db?$postgres_args"
70
wait_for_ipfs "$ipfs"
71
echo "Waiting for Postgres ($postgres_host:$postgres_port)"
0 commit comments