Add env var to fig.yml

… 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: –[…]

Git error: RPC failed; result=22, HTTP code = 411

Workaround: ###git config http.postBuffer 524288000 root@colinbsd2:/usr/home/colin/githubbak/122614/flask # git push -u origin master Username for ‘http://git.hwcdi.com:8081’: Password for ‘http://colin@git.hwcdi.com:8081’: Counting objects: 1043, done. Delta compression using up to 4 threads. Compressing objects: 100% (690/690), done. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Writing objects: 100% (1043/1043), 10.08 MiB[…]

Git Push error: RPC failed; result=22, HTTP code = 413

root@colinbsd2:/usr/home/colin/githubbak/122614/MikroProject # git push -u origin master Username for ‘https://git.hwcdi.com:8081’: Password for ‘https://colin@git.hwcdi.com:8081’: Counting objects: 1871, done. Delta compression using up to 4 threads. Compressing objects: 100% (1184/1184), done. Writing objects: 100% (1871/1871), 24.95 MiB | 0 bytes/s, done. Total 1871 (delta 531), reused 1871 (delta 531) error: RPC failed; result=22, HTTP code = 413[…]