Fork me on GitHub
#docker
<
2021-08-06
>
zendevil.eth03:08:15

@tvaughan so I created the postgres container as well and the network bridge. I run the postgres container and then the transactor container both with the network bridge option, but I still get connection refused in the transactor container. The postgres container is running:

2021-08-06 03:32:30.504 UTC [7] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-08-06 03:32:30.504 UTC [7] LOG:  listening on IPv6 address "::", port 5432
2021-08-06 03:32:30.507 UTC [7] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-08-06 03:32:30.510 UTC [8] LOG:  database system was shut down at 2021-08-05 16:14:38 UTC
2021-08-06 03:32:30.514 UTC [7] LOG:  database system is ready to accept connections
At the transactor:
System started datomic:sql://<DB-NAME>?jdbc:, you may need to change the user and password parameters to work with your jdbc driver
Terminating process - Lifecycle thread failed
java.util.concurrent.ExecutionException: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

tvaughan12:08:28

0.0.0.0:5432 is not correct. Use the name of the running postgresql container