version: '2'

services:
  web:
    ports:
      - "8080:80"
  
  build:
    environment:
      RPNOW_PRODUCTION: dev

version: '2'

services:
  web:
    ports:
      - "8080:80"
  
  build:
    environment:
      RPNOW_PRODUCTION: dev

  web_debug:
    depends_on:
      - build
    image: "httpd:2.2"
    volumes:
      - build_www:/usr/local/apache2/htdocs:ro
    ports:
      - "8181:80"

  db_debug:
    depends_on:
      - db
    image: "mongo-express:0.38"
    environment:
      ME_CONFIG_MONGODB_SERVER: db
    links: 
      - db
    ports:
      - "8282:8081"

Add some nice debugging images for web and db
Add some nice debugging images for web and db

A vanilla apache server on port 8181 will offer up all the static
files in the build_www folder without doing any routing or anything

A mongo-express image on port 8282 provides an admin UI for the
database
