- 1,063
- 440
A while ago I was tinkering around and created a simple templating for NextCloud.
If you are not alergic to the shell (could be started with a scheduled task as well though), the steps are quite easy:
1. extract zip in a subfolder of a share
2. modify mandatory varables in
3. make render.sh executable
4. start the stack:
render.sh is a wrapper around docker-compose that renders the variables into the template and passes the rendered template and all parameters to docker-compose. The template and render.sh can be easily extended to support further parameters.
Is there any interest in such type of templates?
If you are not alergic to the shell (could be started with a scheduled task as well though), the steps are quite easy:
1. extract zip in a subfolder of a share
2. modify mandatory varables in
render.sh
3. make render.sh executable
chmod +x render.sh
4. start the stack:
./render.sh up -d
render.sh is a wrapper around docker-compose that renders the variables into the template and passes the rendered template and all parameters to docker-compose. The template and render.sh can be easily extended to support further parameters.
Is there any interest in such type of templates?