Skip to content

Commit cd5f3c5

Browse files
committed
docs: templating
1 parent bf47305 commit cd5f3c5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,13 @@ poetry run python main.py
2323

2424
## resources
2525

26-
- https://cloudinit.readthedocs.io/en/latest/howto/debugging.html
26+
- https://cloudinit.readthedocs.io/en/latest/howto/debugging.html
27+
28+
## generate docker-compose template
29+
30+
install gomplate: https://docs.gomplate.ca/installing/
31+
```sh
32+
export SERVICE_REPLICAS=2
33+
export GPU_BY_REPLICA=1
34+
cat templates/docker-compose.tpl | gomplate > docker-compose.yaml
35+
```

0 commit comments

Comments
 (0)