Skip to content

Commit

Permalink
Merge pull request #339 from jihchi/add_docker_run_to_readme
Browse files Browse the repository at this point in the history
Add docker run to readme
  • Loading branch information
jihchi authored Apr 8, 2024
2 parents f9cce80 + 5eb6175 commit dbdbd2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ DEBUG=app:* pnpm start

Go to http://localhost:3000

## Launch a container

See [here](https://github.com/jihchi/mermaid.ink/pkgs/container/mermaid.ink) for supported tags.

```
docker run --cap-add=SYS_ADMIN ghcr.io/jihchi/mermaid.ink
```

Go to http://localhost:3000

## Troubleshooting

### I'm getting back `HTTP 431 Request Header Fields Too Large` error
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "jihchi",
"main": "src/index.js",
"scripts": {
"format": "prettier --with-node-modules --write \"{src,test}/**/*.{mjs,js,html}\" \"*.{js,cjs,mjs}\"",
"format": "prettier --with-node-modules --write \"{src,test}/**/*.{mjs,js,html}\" \"*.{js,cjs,mjs,md}\"",
"start": "node src/index.js",
"test": "jest",
"test:watch": "pnpm test --watch"
Expand Down

0 comments on commit dbdbd2c

Please sign in to comment.