# Web deployment config ## Docker Compose ```yaml= version: '3' services: reverse_proxy: container_name: proxy image: bitnami/haproxy volumes: - "./haproxy.cfg:/bitnami/haproxy/conf/haproxy.cfg" ports: - 80:80 web: container_name: web image: httpd ports: - 80 ``` > haproxy.cfg ``` global maxconn 256 log stdout format raw local0 info defaults mode http timeout connect 5000ms timeout client 50000ms timeout server 50000ms log global frontend my-website bind *:80 default_backend httpd backend httpd server server1 web:80 ```