Skip to content

Commit

Permalink
Add docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
JensForstmann committed Oct 7, 2024
1 parent fcda563 commit 86f01e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ singleQuote: true
printWidth: 100
useTabs: true
overrides:
- files: '**/*.yml'
- files: ['**/*.yaml', '**/*.yml']
options:
tabWidth: 2
useTabs: false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Table of Contents:

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

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

```sh
docker run --name tmt2 -d -p 8080:8080 jensforstmann/tmt2
Expand Down
8 changes: 8 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
tmt2:
image: jensforstmann/tmt2:latest
volumes:
- ./storage:/app/backend/storage
restart: unless-stopped
ports:
- 8080:8080/tcp

0 comments on commit 86f01e2

Please sign in to comment.