Added log dir as a volume.
Made database setup optional.