1
0

stack.yml 565 B

12345678910111213141516171819
  1. # Use root/example as user/password credentials
  2. version: '3.1'
  3. services:
  4. db:
  5. image: mysql
  6. # NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
  7. # (this is just an example, not intended to be a production configuration)
  8. command: --default-authentication-plugin=mysql_native_password
  9. restart: always
  10. environment:
  11. MYSQL_ROOT_PASSWORD: example
  12. adminer:
  13. image: adminer
  14. restart: always
  15. ports:
  16. - 8080:8080