tfk-search-index-ansatte
Version:
Index employees in elasticsearch
38 lines (26 loc) • 1.33 kB
Markdown
[](https://travis-ci.org/telemark/tfk-search-index-ansatte)
[](https://coveralls.io/github/telemark/tfk-search-index-ansatte?branch=master)
[](https://github.com/feross/standard)
# tfk-search-index-ansatte
[](https://greenkeeper.io/)
Behandling av ansattdata og dytting til søkeservicen vår
## Docker
To run this module as a service use the docker image.
Change the ENV parts of the [Dockerfile](Dockerfile) or use [docker.env](docker.env)
Build
```sh
$ docker build -t tfk-search-index-ansatte .
```
or use the prebuilt image from [hub.docker.com](https://hub.docker.com/r/telemark/tfk-search-index-ansatte/)
```sh
$ docker pull telemark/tfk-search-index-ansatte
```
Run a container
```sh
$ docker run --rm tfk-search-index-ansatte
```
or
```sh
$ docker run --env-file=docker.env --rm tfk-search-index-ansatte
```
This will spin up a container. Do the job. Shut it down and remove it.