Skip to content

Instantly share code, notes, and snippets.

@Paratron
Last active February 5, 2019 12:46
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 Paratron/7dcdb4494c35c5aab4ced82e4aee30bd to your computer and use it in GitHub Desktop.
Save Paratron/7dcdb4494c35c5aab4ced82e4aee30bd to your computer and use it in GitHub Desktop.
Quick Apache only server for a project
# 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