From cd5f3c5bb88c73850ecbedadf2ccbf38498b6a46 Mon Sep 17 00:00:00 2001
From: devthejo <devthejo@protonmail.com>
Date: Tue, 3 Dec 2024 12:04:05 +0100
Subject: [PATCH] docs: templating

---
 README.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 8089433..cd451d2 100644
--- a/README.md
+++ b/README.md
@@ -23,4 +23,13 @@ poetry run python main.py
 
 ## resources
 
-- https://cloudinit.readthedocs.io/en/latest/howto/debugging.html
\ No newline at end of file
+- https://cloudinit.readthedocs.io/en/latest/howto/debugging.html
+
+## generate docker-compose template
+
+install gomplate: https://docs.gomplate.ca/installing/
+```sh
+export SERVICE_REPLICAS=2
+export GPU_BY_REPLICA=1
+cat templates/docker-compose.tpl | gomplate > docker-compose.yaml
+```
\ No newline at end of file