All Projects → krystianity → elixir-ms

krystianity / elixir-ms

Licence: other
an elixir microservice base/skeleton 💀

Programming Languages

elixir
2628 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to elixir-ms

Appserver
A multithreaded application server for PHP, written in PHP.
Stars: ✭ 930 (+2284.62%)
Mutual labels:  service, container
Libchef
🍀 c++ standalone header-only basic library. || c++头文件实现无第三方依赖基础库
Stars: ✭ 178 (+356.41%)
Mutual labels:  container, base
terraform-aws-ecs-alb-service-task
Terraform module which implements an ECS service which exposes a web service via ALB.
Stars: ✭ 108 (+176.92%)
Mutual labels:  service, container
Remit
RabbitMQ-backed microservices supporting RPC, pubsub, automatic service discovery and scaling with no code changes.
Stars: ✭ 24 (-38.46%)
Mutual labels:  service, micro
S
a go web freamwork for micro service, very very easy to create and deploy, with auto service registry and discover, high performance and based on http/2 no ssl
Stars: ✭ 67 (+71.79%)
Mutual labels:  service, micro
Now Go
Create tinyurl/redirection service with ease.
Stars: ✭ 107 (+174.36%)
Mutual labels:  service, micro
piranha
Piranha - a modern cloud runtime
Stars: ✭ 136 (+248.72%)
Mutual labels:  container, micro
ProxmoxVE PHP API
ProxmoxVE PHP API
Stars: ✭ 78 (+100%)
Mutual labels:  container
docker-compose-moodle
This project quickly builds a local workspace for Moodle (Apache2, PHP-FPM with XDEBUG y Postgres) using containers for each of its main components. The local workspace is built and managed by Docker Compose
Stars: ✭ 33 (-15.38%)
Mutual labels:  container
singularityware.github.io
base documentation site for Singularity software
Stars: ✭ 27 (-30.77%)
Mutual labels:  container
rkt-compose
CLI to run Docker Compose file as pod on rkt with integrated service discovery using Consul - EOL
Stars: ✭ 24 (-38.46%)
Mutual labels:  container
dockupdater
Automatically keep your docker services and your docker containers up-to-date with the latest version
Stars: ✭ 76 (+94.87%)
Mutual labels:  container
docker-axed
dockerized「AXE」daemon
Stars: ✭ 13 (-66.67%)
Mutual labels:  container
crane
Crane is a easy-to-use and beautiful desktop application helps you build manage your container images.
Stars: ✭ 223 (+471.79%)
Mutual labels:  container
dockerMullvadVPN
Mullvad VPN container tutorial for docker
Stars: ✭ 38 (-2.56%)
Mutual labels:  container
navio
Navio is a program to create and manage linux containers. This project exists only for study purposes, so feel free to contribute :)
Stars: ✭ 14 (-64.1%)
Mutual labels:  container
keepalived
Alpine based container for keepalived
Stars: ✭ 38 (-2.56%)
Mutual labels:  container
gologger
A concurrent, fast queue/service worker based filesystem logging system perfect for servers with concurrent connections
Stars: ✭ 16 (-58.97%)
Mutual labels:  service
docker-jre
Lean JRE 8 Docker container
Stars: ✭ 25 (-35.9%)
Mutual labels:  container
impress-cli
Impress Application Server Command line interface
Stars: ✭ 25 (-35.9%)
Mutual labels:  service

Elixir-Logo

elixir-ms

  • elixir microservice base 🐜
  • microservice skeleton from scratch aka "You dont need Phoenix"

Build Status

Ingredients

  • credo for linting
  • dialyxir static analysis
  • strong http server basis using plug + cowboy
  • fast json encode/decode using poison
  • http client using httpoison
  • metrics using prometheus_ex
  • healthchecks + config setup using mix tools
  • (json) access log provided as Plug
  • ELK compliant logger with simple API
  • registry (in-memory cache) with simple API
  • redis client using redix (pub-sub)
  • JIT Config via weave
  • RDBMS ORM via ecto and postgrex
  • start-up banner
  • MIT License

Requirements

  • Erlang/OTP >= 21
  • Elixir >= 1.8.1

Installation

  • install Erlang
  • install Elixir
  • install Mix
  • http://elixir-lang.org/install.html#unix-and-unix-like // on mac simply brew install elixir
  • git clone [email protected]:krystianity/elixir-ms.git
  • run mix deps.get or ./tools/get-dependencies.sh
  • start via mix start
  • (if you want to run this as is, you need a local postgres (see Other below) and a redis, otherwise you have to make adjustments to lib/demo.ex and mix.exs)

Use as docker container via docker-compose

build + run via docker-compose up --build

Testing

run mix test

License

MIT

Other

Database Setup

  • (requires a local postgres, with a user named "postgres" and a password "postgres" checkout config/config.exs to change these credentials
  • mix ecto.create
  • mix ecto.migrate

Other Database Stuff

  • mix ecto.gen.migration add_test_table -r ExTest.Repos.Test
  • mix ecto.rollback
  • docker run -it --rm --link postgres:postgres postgres:9.3 psql -h postgres -U postgres ex_test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].