An open API service indexing awesome lists of open source software.

https://github.com/cv65kr/haproxy-for-php

Example how scale PHP applications with Docker and Consul
https://github.com/cv65kr/haproxy-for-php

consul consul-template docker haproxy scalable-applications

Last synced: 2 months ago
JSON representation

Example how scale PHP applications with Docker and Consul

Awesome Lists containing this project

README

          

# tl;dr;

Simple example how scale PHP applications with Docker and Consul. Haproxy configuration is automatically updated when we scale our PHP container.

# How use?

```bash
docker-compose up -d --scale php=5
```

Consul UI is available on [http://0.0.0.0:8500/ui](http://0.0.0.0:8500/ui).