Sign inSign up

fiwoo/density-maps

By fiwoo

Updated over 8 years ago

This repository contains the density maps microservice in the FIWOO platform

Image
0

352

fiwoo/density-maps repository overview

Density-Maps

This repository contains the density maps microservice in the FIWOO platform

Getting Started

Prerequisites
  • Git
  • [Apache Maven 3.3.9]
  • [Java 1.8]
Developing

Install Apache Maven and Java 1.8 in your host.

Build & Development

Run mvn clean package to generate the .jar file.

Deployment with Docker

In order to deploy this microservice using Docker, follow this steps:

  1. Download the docker image from Docker Hub

     `docker pull fiwoo/density-maps`
    
  2. Run the image. Take into account that the microservice is started on port 5000. You can also configure Eureka URL and PORT using the environment variables as below: EUREKAVHOST and EUREKAPORT. You also need to give as an environment variable the SECRET for decoding the JWT.

     `sudo docker run -d --name density_maps -p 5000:5000 -e "EUREKA_VHOST=<eureka host url>" -e "EUREKA_PORT=<eureka port>" -e "SECRET=<JWT SECRET>" fiwoo/density-maps`
    

Tag summary

Content type

Image

Digest

Size

475.2 MB

Last updated

over 8 years ago

docker pull fiwoo/density-maps