version: '3.8'
services:
  dev-db:
    image: mysql:8
    container_name: aberwyn-dev-db
    ports:
      - "3306:3306"
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: aberwyn
      MYSQL_USER: aberwyn
      MYSQL_PASSWORD: devpass
    volumes:
      - dev-mysql-data:/var/lib/mysql

volumes:
  dev-mysql-data:
