FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

angular/.deploy/transporter at develop · newdev213/angular · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Transporter

This is a docker image, which includes a Transporter application with a predefined, parameterized pipeline definition.

The predefined pipeline migrates the current state of a PostgreSQL database into Elasticsearch, and then continues with syncing the changes too.

+----------+     +-------------+     +---------------+
| postgres |---->| transporter |---->| elasticsearch |
+----------+     +-------------+     +---------------+

Build

# build postgres-to-es transporter docker image
cd .deploy/transporter
docker build --tag=xmlking/postgres-to-es-transporter:latest .

# Tag
docker tag xmlking/postgres-to-es-transporter:latest xmlking/postgres-to-es-transporter:0.5.2
# Push
docker push xmlking/postgres-to-es-transporter:0.5.2
docker push xmlking/postgres-to-es-transporter:latest

Run

The configuration parameters for run:

  • DB_NAME: The name of the database to transport from PostgreSQL to ES. It is also the name of the index will be created on ES. Default: test.
  • POSTGRES_URI: The full URI of the PostgreSQL server, including credentials, if there is any. Use one of the following formats: postgres://<user>:password@host:port or postgres://host:port. Default: postgres://localhost:5432.
  • ELASTICSEARCH_URI: The full URI of the Elasticsearch server, including credentials if there is any. Use one of the following formats: http://<user>:password@host:port or http://host:port. Default: http://localhost:9200.
    docker run -it --rm xmlking/postgres-to-es-transporter:latest

Docker Compose

docker-compose up postgres
docker-compose up elasticsearch
docker-compose up kibana
docker-compose up transporter

Ref


Back | FazBrowse Home | New Git URL