Sign inSign up

logistimo/communication-service

By logistimo

•Updated over 7 years ago

Communication service https://github.com/logistimo/communications-service

Image
0

1.5K

logistimo/communication-service repository overview

#Communication-service A service to handle communications - email, sms, push notifications.

⁠How to use the image

⁠Start a communication-service using docker run:

docker run --net=host -e SERVER_PORT="9020" -e MYSQL_COMM_HOST ="jdbc:mariadb://<mariadb_host>:3306/communications?useUnicode=true&amp;characterEncoding=UTF-8" -e MYSQL_COMM_USER ="<mysql_user>" -e MYSQL_COMM_PASS ="<mysql_password>" \
 -e ACTIVEMQ_URL ="tcp://<activemq_host>:61616" -e ACTIVEMQ_USER="<activemq_user>" -e ACTIVEMQ_PASS ="<activemq_password>"  -e REDIS_HOST ="<redis_host>" -e SENTINEL_HOST = "<sentinel_host>" -e ISSENTINEL = "<true/false>" -e GOOGLE_APPLICATION_CREDENTIALS = "<google_application_credentials>" -e FIREBASE_CONFIG = "<firebase_config>" -e TASK_MACHINE="true" --name communication-service -d logistimo/communication-service:latest

⁠Container shell access and viewing Communication-service logs

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 communication-service container:

$ docker exec -it communication-service /bin/bash

The communication-service logs can be seen using the following command

$ docker logs -f communication-service

Tag summary

Content type

Image

Digest

Size

297.9 MB

Last updated

over 7 years ago

docker pull logistimo/communication-service