diff --git a/.prettierrc.yml b/.prettierrc.yml index 604facb..862f746 100644 --- a/.prettierrc.yml +++ b/.prettierrc.yml @@ -6,7 +6,7 @@ singleQuote: true printWidth: 100 useTabs: true overrides: - - files: '**/*.yml' + - files: ['**/*.yaml', '**/*.yml'] options: tabWidth: 2 useTabs: false diff --git a/README.md b/README.md index 31e9daa..3a9af53 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..d90d826 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,8 @@ +services: + tmt2: + image: jensforstmann/tmt2:latest + volumes: + - ./storage:/app/backend/storage + restart: unless-stopped + ports: + - 8080:8080/tcp