Update README.md
This commit is contained in:
@@ -10,7 +10,7 @@ While this currently serves the diagrams via HTTP, it could easily be manipulate
|
|||||||
|
|
||||||
Run the container:
|
Run the container:
|
||||||
```
|
```
|
||||||
docker run -d --name mermaid-server -p 80:80 tomwright/mermaid-server:latest --allow-all-origins=true
|
docker run -d --name mermaid-server -p 80:80 tomwright/mermaid-server:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
### Manually as a go command
|
### Manually as a go command
|
||||||
@@ -51,4 +51,4 @@ curl --location --request GET 'http://localhost:80/generate?data=graph%20LR%0A%0
|
|||||||
### Caching
|
### Caching
|
||||||
|
|
||||||
All generated diagram input and output will be cached for 1 hour. The cache time is reset whenever a cached diagram is accessed.
|
All generated diagram input and output will be cached for 1 hour. The cache time is reset whenever a cached diagram is accessed.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user