Skip to content

Commit

Permalink
Update server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Nov 20, 2020
1 parent 0d4d9a1 commit 63630f5
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docs/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,6 @@ Some options like sourcemap or distFile options will be overwritten by the serve

> You can find an example request on [SwaggerHub](https://app.swaggerhub.com/apis-docs/TheMaaarc/Unglue/1.1.1#/API%20Calls/get_svg_sprite).
## Run as dockerized image

Run the docker image. Map port 3000 to local port 3000.

`docker run -d -p 3000:3000 unglue/server`

You should now be able to access `https://localhost:3000`.

## Docker-Compose

In order to create an unglue server inside a docker-compose file for local compiling:

```yaml
version: '3'
services:
...
unglue:
image: unglue/server
ports:
- "3000:3000"
```

## Install with GIT

1. Clone the git repository.
Expand Down

0 comments on commit 63630f5

Please sign in to comment.