Skip to content

Commit c261284

Browse files
committed
docker-compose: added a very basic docker compose file
1 parent aed77bc commit c261284

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ docker build -t teslabot .
9696

9797
and then replace the `ghcr..` in the `docker run` command with `teslabot`.
9898

99+
You can also use `docker-compose up` to build and start in one go. Review [the very basic yaml file](docker-compose.yaml) first.
100+
99101
## Installation without docker
100102

101103
```

docker-compose.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: '2'
2+
services:
3+
bot:
4+
image: "ghcr.io/eras/teslabot:latest"
5+
volumes:
6+
- ./data:/data

0 commit comments

Comments
 (0)