Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

repository-preservation/lcmap-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

LCMAP-Services

Provides a convenient way to run underlying LCMAP services locally.

  • Zookeeper
  • Mesos
  • Marathon
  • Cassandra
  • Elasticsearch
  • RabbitMQ
  • Kafka
  • Mesos-DNS
  • Mesos Spark Cluster Dispatcher (for running Spark in cluster mode)

Dependencies

  • Docker 1.13
  • Docker Compose 1.10

Startup

# Some linux distros (ubuntu is one) do not export HOSTNAME by default.
# Needed to properly serve web pages from a browser on the host.
export HOSTNAME=$HOSTNAME

# start everything
docker-compose up

# start individual services (with dependencies)
docker-compose up marathon

All services which need to persist data (e.g. Cassandra, Elasticsearch, RabbitMQ, Mesos) do so in the ./volumes directory.

If you wish to start fresh, remove the contents of ./volumes.

Using

All services expose ports through the host so that you can connect to them from other applications without the hassle of locating the assigned IP addresses. You may also wish to use these service with other docker containers. In such cases, you may run the docker container like this:

docker run --net=lcmap usgseros/lcmap-landsat:0.1.0-SNAPSHOT $(cat config.edn)

This container will be able to refer to other containers using the service name as the hostname. For example, the Cassandra container will be reachable from within another container using the host and port cassandra:9042.

Frequently Used URLs

URL Description
http://localhost:8080 Marathon
http://localhost:5050 Mesos Master
zk://localhost:2181 Zookeeper

About

LCMAP underlying services, simplified.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published