You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
719 B

  1. version: '2'
  2. services:
  3. hc:
  4. build: .
  5. # image: haswalt/docker-healthchecks
  6. image: quay.io/honestbee/healthcheck:latest
  7. ports:
  8. - "9090:9090"
  9. depends_on:
  10. - db
  11. environment:
  12. HEALTHCHECKS_EMAIL_HOST: mailhog
  13. HEALTHCHECKS_EMAIL_PORT: 1025
  14. HEALTHCHECKS_DB: mysql
  15. HEALTHCHECKS_DB_HOST: db
  16. HEALTHCHECKS_DB_USER: root
  17. HEALTHCHECKS_DB_PASSWORD: pa55word
  18. HEALTHCHECKS_SITE_ROOT: http://localhost:9090
  19. HEALTHCHECKS_DEBUG: 1
  20. mailhog:
  21. image: mailhog/mailhog
  22. ports:
  23. - "8025:8025"
  24. db:
  25. image: mariadb
  26. environment:
  27. MYSQL_ROOT_PASSWORD: pa55word
  28. MYSQL_USER: hc
  29. MYSQL_PASSWORD: pa55word
  30. MYSQL_DATABASE: hc