Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple Apache server with Docker Compose
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