Skip to content

Commit

Permalink
docs: templating
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Dec 3, 2024
1 parent bf47305 commit cd5f3c5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ poetry run python main.py

## resources

- https://cloudinit.readthedocs.io/en/latest/howto/debugging.html
- 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
```

0 comments on commit cd5f3c5

Please sign in to comment.