Add modes for Docker and Nginx