version: "2"

services:
  db:
    image: mysql:5.6.45
    container_name: db
    command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_USER=credentials001
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=credentials

  memcached:
    container_name: memcached
    image: memcached:1.4.24

  credentials:
    build: .
    command: ./manage.py runserver 0.0.0.0:18150
    container_name: credentials
    depends_on:
      - db
    image: edxops/credentials:devstack-slim
    ports:
      - "18150:18150"
    stdin_open: true
    tty: true

version: "2"

services:
  db:
    image: mysql:5.7
    container_name: db
    command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_USER=credentials001
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=credentials

  memcached:
    container_name: memcached
    image: memcached:1.4.24

  credentials:
    build: .
    command: ./manage.py runserver 0.0.0.0:18150
    container_name: credentials
    depends_on:
      - db
    image: edxops/credentials:devstack-slim
    ports:
      - "18150:18150"
    stdin_open: true
    tty: true

Move testing mysql container to 5.7
Move testing mysql container to 5.7
