Skip to content

Instantly share code, notes, and snippets.

@morozow

morozow/docker-compose.yml

Last active Sep 23, 2019
Embed
What would you like to do?
Separate server Docker Compose base file to run documentation
version: "3"
services:
nginx-docs:
image: "nginx"
container_name: "nginx"
volumes:
- ./.docs/html:/usr/share/nginx/html:ro
ports:
- "80:80"
environment:
- NGINX_HOST=127.0.0.1
- NGINX_PORT=80
tty: true
command: ['nginx', '-g', 'daemon off;']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment