Skip to content

Commit 86f01e2

Browse files
committed
Add docker compose file
1 parent fcda563 commit 86f01e2

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.prettierrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ singleQuote: true
66
printWidth: 100
77
useTabs: true
88
overrides:
9-
- files: '**/*.yml'
9+
- files: ['**/*.yaml', '**/*.yml']
1010
options:
1111
tabWidth: 2
1212
useTabs: false

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Table of Contents:
6060

6161
TMT2 is available on docker hub: https://hub.docker.com/r/jensforstmann/tmt2
6262

63-
Run it with:
63+
You can either use a [docker compose file (compose.yaml)](compose.yaml) or run it directly with `docker run`:
6464

6565
```sh
6666
docker run --name tmt2 -d -p 8080:8080 jensforstmann/tmt2

compose.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
tmt2:
3+
image: jensforstmann/tmt2:latest
4+
volumes:
5+
- ./storage:/app/backend/storage
6+
restart: unless-stopped
7+
ports:
8+
- 8080:8080/tcp

0 commit comments

Comments
 (0)