define log, data and config dirs as volumes