coder icon indicating copy to clipboard operation
coder copied to clipboard

Templates Bigger then 1M (Archive too big. Must be <= 1048576 bytes)

Open n1LWeb opened this issue 2 years ago • 3 comments

Is it possible to change the maximum template size? I'm putting up whole developement networks with coder. And especially in cases where no fitting images are available (arm64) this limit is reached very fast.

n1LWeb avatar Jun 21 '23 14:06 n1LWeb

Seems reasonable.

Out of curiosity, how large are your templates?

kylecarbs avatar Jun 21 '23 14:06 kylecarbs

I have an template with docker image built from git which would result in 18M. Of course i can build the docker images outside but it'd add some complexity. If the image will get cleaned up it'd render the template depending on it useless. As we only use this with a small team (6-10 Users) the amount of data is no Problem. I get the 1M limit as resonable default. But every default should be changable for special circumstances.

n1LWeb avatar Jun 21 '23 14:06 n1LWeb

Agreed. I'd proceed with caution though, because each version is stored in the database, which could result in a lot of storage if you're iterating on the template a lot.

kylecarbs avatar Jun 21 '23 14:06 kylecarbs