Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Image service written in Golang communicating with RabbitMQ

License

Notifications You must be signed in to change notification settings

ParsaNobahari/go-image-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Image Service with RabbitMQ

Usage

Run Local Docker Network

docker network create rabbits

Run RabbitMQ in Docker

docker run -d --rm --net rabbits -p 8080:15672 --hostname rabbit-1 --name image-service rabbitmq:3.8

note: if you cannot access rabbitmq management, try this:

Enable rabbitmq management

exec -it rabbit-1 bash
rabbitmq-plugins enable rabbitmq_maangement

to check if this worked you can simply try:

rabbitmq-plugins list

if rabbitmq_web_dispatch, rabbitmq_management and rabbitmq_management_agent didn't get enabled, DIY.

Build Docker Image

docker build -t image-service .

Run Image Service

docker run -p 5672:5672 image-service

To Run Test Locally

go test

About

Image service written in Golang communicating with RabbitMQ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published