jcleary/blade

View on GitHub
docker-compose.yml

Summary

Maintainability
Test Coverage
version: '2'
services:
  web:
    image: ruby:2.3
    links:
      - db
    volumes:
      - .:/app
    command: bash -c 'cd /app && rm -f tmp/pids/server.pid && bundle && bundle exec rails server --bind 0.0.0.0'
    ports:
      - 3000:3000
  db:
    image: mysql:5.7
    environment:
      - MYSQL_ALLOW_EMPTY_PASSWORD=yes