… needed to increase client_max_body_size in a gitlab instance inside a Docker container.
took a second to wrap my hear around where to define the env var in fig.yml – need to put environment: under an image spec… like this:
gitlab:
image: sameersbn/gitlab:7.6.1
links:
– redis:redisio
– postgresql:postgresql
ports:
– “10080:80”
– “10022:22”
environment:
– NGINX_MAX_UPLOAD_SIZE=200m