remove references to SERVICE_HOST and add missing value checks for env vars
improved message in test_db_available.py
improve comments in dockerfile and fix apache hostname var