Last active
February 5, 2019 12:46
-
-
Save Paratron/7dcdb4494c35c5aab4ced82e4aee30bd to your computer and use it in GitHub Desktop.
Quick Apache only server for a project
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
# This will start a apache server and maps it to the local port 80 | |
# It will assume your hosted content in the folder ./src | |
version: '2' | |
services: | |
apache2: | |
image: webdevops/apache:latest | |
volumes: | |
- ./src:/app | |
ports: | |
- 80:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment