Skip to content

Commit 7f20622

Browse files
authored
Merge pull request #6 from Ilhasoft/develop
Develop to master
2 parents 6d8ec11 + 7a4283e commit 7f20622

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v5.2.0
2+
----------
3+
* Sync release with RapidPro 5.2
4+
15
v2.0.0
26
----------
37
* Ignore value of is_test on contacts

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RapidPro Indexer [![Build Status](https://travis-ci.org/nyaruka/rp-indexer.svg?branch=master)](https://travis-ci.org/nyaruka/rp-indexer) [![codecov](https://codecov.io/gh/nyaruka/rp-indexer/branch/master/graph/badge.svg)](https://codecov.io/gh/nyaruka/rp-indexer) [![Go Report Card](https://goreportcard.com/badge/github.com/nyaruka/rp-indexer)](https://goreportcard.com/report/github.com/nyaruka/rp-indexer)
1+
# RapidPro Indexer [![Build Status](https://travis-ci.org/nyaruka/rp-indexer.svg?branch=master)](https://travis-ci.org/nyaruka/rp-indexer) [![codecov](https://codecov.io/gh/nyaruka/rp-indexer/branch/master/graph/badge.svg)](https://codecov.io/gh/nyaruka/rp-indexer) [![Go Report Card](https://goreportcard.com/badge/github.com/nyaruka/rp-indexer)](https://goreportcard.com/report/github.com/nyaruka/rp-indexer)
22

33
Simple service for indexing RapidPro contacts into ElasticSearch.
44

docker/Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM golang:1.12.9-alpine3.9
2+
3+
WORKDIR /app
4+
5+
RUN apk update \
6+
&& apk add --virtual build-deps gcc git \
7+
&& rm -rf /var/cache/apk/*
8+
9+
RUN addgroup -S golang \
10+
&& adduser -S -G golang golang
11+
12+
COPY . .
13+
14+
RUN go install -v ./cmd/...
15+
RUN chown -R golang /app
16+
17+
USER golang
18+
19+
EXPOSE 8080
20+
ENTRYPOINT ["rp-indexer"]

docker/docker-compose.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: "3"
2+
3+
services:
4+
indexer:
5+
image: ${DOCKER_IMAGE_NAME:-ilhasoft/indexer}:${DOCKER_IMAGE_TAG:-latest}
6+
build:
7+
context: ..
8+
dockerfile: ./docker/Dockerfile
9+
ports:
10+
- 8080:8000

0 commit comments

Comments
 (0)