Blame view

src/site/markdown/installation_docker.md.vm 661 Bytes
Matthijs Brouwer authored
1
#Docker
Matthijs Brouwer authored
2
Matthijs Brouwer authored
3
4
5
A [Dockerfile](https://www.docker.com/) is available to get started quickly with 
Mtas on a Solr based installation.
Matthijs Brouwer authored
6
To pull and run the image
Matthijs Brouwer authored
7
8

```console
Matthijs Brouwer authored
9
10
docker pull textexploration/mtas
docker run -t -i -p 8080:80 --name mtas textexploration/mtas
Matthijs Brouwer authored
11
12
```
Matthijs Brouwer authored
13
Or to build and run
Matthijs Brouwer authored
14
15

```console
Matthijs Brouwer authored
16
docker build -t mtas https://raw.githubusercontent.com/textexploration/mtas/master/docker/Dockerfile
Matthijs Brouwer authored
17
18
19
20
21
22
23
24
25
docker run -t -i -p 8080:80 --name mtas mtas
```

This wil make a site available on port 8080 from your docker host ip, 
containing access to the running solr instance and providing a demonstration 
scenario with indexing and querying of some sample documents.