This is independent of WebAPI running. The Postgres database via the “atlasdb” container should be up and running, is it?
If it is running, next you’d need to verify that the connection details you’ve provided to the webapi container are valid. If running on your localhost, try initiating a JDBC connection to it. With R, you can use this:
connectionDetails <- DatabaseConnector::createConnectionDetails(server = "127.0.0.1/postgres",
dbms = "postgresql",
user = "<your user name>",
password = "<your password>",
pathToDriver = "<path to your postgres jdbc driver")
connection <- DatabaseConnector::connect(connectionDetails = connectionDetails)
Next, see that your webapi schema is available.