move mongodb to env variable

add .env.example file for .env convention by foreman
ignore unnecessary files for git and docker