Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose nginx
version: '2'
services:
web:
image: nginx:stable-alpine
volumes:
- ./code:/usr/share/nginx/html
ports:
- "8080:80"
environment:
- NGINX_HOST=localhost.com
- NGINX_PORT=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.