Skip to content

Instantly share code, notes, and snippets.

@dictcp
Created September 5, 2021 09:13
Show Gist options
  • Save dictcp/07d9ca54d3594502a1a2d3ef07b8e431 to your computer and use it in GitHub Desktop.
Save dictcp/07d9ca54d3594502a1a2d3ef07b8e431 to your computer and use it in GitHub Desktop.
docker-compose starting Apache with custom vhost config
version: '2'
services:
web:
image: httpd
volumes:
- ./vhost.conf:/usr/local/apache2/conf/extra/vhost.conf
ports:
- "8082:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment