guidesmiths/generator-systemic

View on GitHub
generators/app/templates/root/_docker-compose.yml

Summary

Maintainability
Test Coverage
version: "3"

services:
  rabbitmq:
    image: "rabbitmq:3-management"
    container_name: <%= name %>_rabbitmq
    hostname: "rabbitmq"
    environment:
      RABBITMQ_ERLANG_COOKIE: "erlang_cookie"
      RABBITMQ_DEFAULT_USER: "rabbitmq"
      RABBITMQ_DEFAULT_PASS: "rabbitmq"
      RABBITMQ_DEFAULT_VHOST: "vhost_name"
    ports:
      - "15672:15672"
      - "5672:5672"

  mongodb: 
    image: "mongo:3.2.0"
    container_name: <%= name %>_mongo
    ports: 
      - "27017:27017"