Created
March 30, 2021 14:22
-
-
Save cdevroe/c5e493f6e288a145d074a98d1791e31b to your computer and use it in GitHub Desktop.
Simple Apache server with Docker Compose
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.3' | |
services: | |
httpd: | |
image: httpd:2.4 | |
volumes: | |
- /YOUR/LOCAL/FILE/SYSTEM/DIRECTORY:/usr/local/apache2/htdocs/ | |
ports: | |
- 8080:80 | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment