Get database container IP from environment variables

We now allocate an IP for each container, so the database container has an IP which we can use in the app container to establish the connection.

Is not yet tested, but it should work.