mcred/Cred-Jumper

View on GitHub
.docker/docker-compose.yml

Summary

Maintainability
Test Coverage
version: '2'
volumes:
  creddata:
    driver: local
services:
  httpd:
    container_name: cred-httpd
    build:
      context: .
      dockerfile: ./Dockerfile
    ports:
        - "1013:80"
    volumes:
        - ../:/var/www/
        - ../webroot:/var/www/html
    command: /usr/sbin/apache2ctl -D FOREGROUND
  db:
    container_name: cred-mysql
    image: mysql:5.6
    environment:
      MYSQL_ROOT_PASSWORD: supersecret1
    ports:
      - "3306:3306"
    volumes:
      - creddata:/var/lib/mysql
    logging:
      driver: "json-file"