Created
November 15, 2020 07:18
-
-
Save mencarellic/05f4ff0aa7e6b0702d88f755b72db9cd to your computer and use it in GitHub Desktop.
HAProxy-Apache Docker-Compose file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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