Skip to content

Pengwin61/docker-dummy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-dummy

Приложение для тестирования отказоустойчивости компонентов в kubernetes

Build через Makefile

make build

Docker Hub

docker pull pengwin61/dummy:latest

Docker-compose

cd ./deployment && docker compose up -d --force-recreate

Flugs application

./dummy --help

      --server                 Run server app
      --client                 Run client app

      --rabbit-enable          Run rabbit
      --rabbit-host string     RabbitMQ host (default "127.0.0.1")
      --rabbit-port string     RabbitMQ port (default "5672")
      --rabbit-user string     RabbitMQ user (default "guest")
      --rabbit-pass string     RabbitMQ password (default "guest")
      --rabbit-queue string    Name Queue (default "q1")

      --redis-enable           Run redis
      --redis-host string      Redis host (default "127.0.0.1")
      --redis-port string      Redis port (default "6379")
      --redis-pass string      Redis password
      --redis-db int           Redis database

      --db-host string         Database host (default "127.0.0.1")
      --db-port string         Database port (default "5432")
      --db-user string         Database user (default "pengwin")
      --db-pass string         Database password (default "password")
      --db-name string         Database name  (default "dummy")

Server

Сервер читает данные

WEB

http://localhost

Run CMD

./dummy --server=true \
--rabbit-host="localhost" --rabbit-port="5672" \
--redis-host="localhost" \

Client

Клиент отсылает сообщения в redis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published