mego-worker

command module
v0.0.0-...-d685864 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 2 Imported by: 0

README

MEGO

SMS (Short Messaging Service) Worker that handle incoming queue from Message Broker and send it with gammu - part of next project (Microservices Arch Notify-Service)

Installation Instructions

  1. Run git clone https://github.com/aasumitro/mego-worker.git mego_worker

  2. From the projects root run

    cp .env.example .env

  3. Configure your .env file

  4. Run with docker-compose

    docker-compose up

    as daemon

    docker-compose up -d

    build with docker compose

    docker-compose up --build

  5. Run with docker

    build as image

    docker build -t {new_image_name} . e.g docker build -t mego-worker .

    show all image

    docker images -a or docker image ls

    run image as container

    docker run -d --name {new_container_name} {image_name} e.g docker run -d --name mego_app mego-worker

    show all container

    docker ps -a

    show running container

    docker ps

    docker container mgmt

    docker container {start|stop|restart} {container_name}

    docker stats

    docker stats --all {container_name}

    open container bash

    docker exec -it {container_name} /bin/bash

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL