docker-compose.ci.mysql.yml 630 B

123456789101112131415161718192021222324252627
  1. # WARNING: This is a CI docker-compose file used for building and testing of the entire app, it should not be used for production.
  2. services:
  3. fullstack:
  4. environment:
  5. DB_MYSQL_HOST: 'db-mysql'
  6. DB_MYSQL_PORT: '3306'
  7. DB_MYSQL_USER: 'npm'
  8. DB_MYSQL_PASSWORD: 'npmpass'
  9. DB_MYSQL_NAME: 'npm'
  10. depends_on:
  11. - db-mysql
  12. db-mysql:
  13. image: jc21/mariadb-aria
  14. environment:
  15. MYSQL_ROOT_PASSWORD: 'npm'
  16. MYSQL_DATABASE: 'npm'
  17. MYSQL_USER: 'npm'
  18. MYSQL_PASSWORD: 'npmpass'
  19. volumes:
  20. - mysql_vol:/var/lib/mysql
  21. networks:
  22. - fulltest
  23. volumes:
  24. mysql_vol: