Move worker count to environment variable

There are problems with races creating databases on startup. We could
stop creating them automatically, but it's mighty convenient and its
not easy to run the db creation script otherwise. For instance, in
a dokku the docker links are not available during the buildstep.