Strund3r/ECS_test

View on GitHub
docker-compose-v2.yml

Summary

Maintainability
Test Coverage
version: '2'
services:
  # mongo:
  #   image: mongo
  #   ports:
  #     - "27017:27017"
  #   mem_limit: 260833280
  # redis:
  #   image: redis
  #   volumes:
  #     - ./redis.conf:/usr/local/etc/redis/redis.conf
  #   ports:
  #     - "6379:6379"
  #   mem_limit: 260833280
  web:
    image: strund3r/ecs
    command: /bin/sh -c "chmod +x run.sh && sleep 1 && ./run.sh"
    #volumes:
    #  - .:/myapp
    cpu_shares: 10
    ports:
      - "3000:3000"
    working_dir: /myapp
    # depends_on:
    #   - redis
    #   - mongo
  # worker:
  #   image: strund3r/ecs
  #   command: bundle exec sidekiq
  #   depends_on:
  #     - redis
  #     - mongo
  #   mem_limit: 260833280