Locations service https://github.com/logistimo/locations-service
1.4K
Locations service is a web service that returns information about places (like Countries and their administrative divisions including state/provinces in a country, districts/county in state, taluks in a district and cities.
docker run --net=host -e MYSQL_LOGI_HOST="jdbc:mariadb://mysqldb:3306/logistimo?useUnicode=true&characterEncoding=UTF-8" -e MYSQL_LOC_HOST="jdbc:mariadb://mysqldb:3306/locations?useUnicode=true&characterEncoding=UTF-8"--name locations-service -d logistimo/locations-service:latest
The docker exec command allows you to run commands inside a Docker container. The following command line will give you a bash shell inside your locations-service container:
$ docker exec -it locations-service /bin/bash
The locations-service logs can be seen using the following command
$ docker logs -f locations-service
$ docker run --net=host -e SPRING_PROFILES_ACTIVE="dev" -e SERVER_PORT="9090" -e MYSQL_LOGI_HOST="jdbc:mariadb://<mariadb_host>:3306/logistimo?useUnicode=true&characterEncoding=UTF-8" -e MYSQL_LOC_HOST="jdbc:mariadb://<mariadb_host>:3306/locations?useUnicode=true&characterEncoding=UTF-8" -e MYSQL_LOC_USER="<mysql_user>" -e MYSQL_LOC_PASS="<mysql_password>" -e MYSQL_LOGI_USER="<mysql_user>" -e MYSQL_LOGI_PASS="<mysql_password>"-e APP_START="true" --name locations-service -d logistimo/locations-service:latest
Content type
Image
Digest
Size
252.2 MB
Last updated
over 7 years ago
docker pull logistimo/locations-service