# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
version: '3.8'
services:
  datasurvey-mysql:
    image: mysql:8.0.25
    # volumes:
    #   - ~/volumes/jhipster/DataSurvey/mysql/:/var/lib/mysql/
    environment:
      - MYSQL_ALLOW_EMPTY_PASSWORD=yes
      - MYSQL_DATABASE=datasurvey
    # If you want to expose these ports outside your dev PC,
    # remove the "127.0.0.1:" prefix
    ports:
      - 127.0.0.1:3306:3306
    command: mysqld --lower_case_table_names=1 --skip-ssl --character_set_server=utf8mb4 --explicit_defaults_for_timestamp
