Skip to content

Instantly share code, notes, and snippets.

@mencarellic
Created November 15, 2020 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mencarellic/05f4ff0aa7e6b0702d88f755b72db9cd to your computer and use it in GitHub Desktop.
Save mencarellic/05f4ff0aa7e6b0702d88f755b72db9cd to your computer and use it in GitHub Desktop.
HAProxy-Apache Docker-Compose file
version: "3.8"
services:
haproxy:
image: haproxy:2.3
ports:
- "80:80"
- "8000:8000"
volumes:
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro"
apache:
image: httpd:latest
expose:
- "80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment