Jimdo/prometheus_client_php

View on GitHub
docker-compose.yml

Summary

Maintainability
Test Coverage
nginx:
  build: nginx/
  links:
    - php-fpm
  ports:
    - 8080:80

php-fpm:
  build: php-fpm/
  volumes:
    - .:/var/www/html
  links:
    - redis
    - pushgateway
  environment:
    - REDIS_HOST=redis

redis:
  image: redis
  ports:
      - 6379:6379

pushgateway:
  image: prom/pushgateway
  ports:
    - 9091:9091

phpunit:
  build: php-fpm/
  volumes:
    - .:/var/www/html
  links:
    - redis
    - pushgateway
    - nginx
  environment:
    - REDIS_HOST=redis