docker-compose.yaml 479 B

1234567891011121314151617181920
  1. version: "3"
  2. services:
  3. mysql57:
  4. image: mysql:5.7
  5. environment:
  6. MYSQL_ROOT_PASSWORD: root
  7. MYSQL_DATABASE: root
  8. ports:
  9. - "3316:3306"
  10. command: "--default-authentication-plugin=mysql_native_password"
  11. restart: always
  12. mysql56:
  13. image: mysql:5.6
  14. environment:
  15. MYSQL_ROOT_PASSWORD: root
  16. MYSQL_DATABASE: root
  17. ports:
  18. - "3317:3306"
  19. command: "--default-authentication-plugin=mysql_native_password"
  20. restart: always