Skip to content

Instantly share code, notes, and snippets.

@pascalandy
Created April 21, 2016 18:16
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 pascalandy/215d4e99895c71cb541ca7ab7c7ef63c to your computer and use it in GitHub Desktop.
Save pascalandy/215d4e99895c71cb541ca7ab7c7ef63c to your computer and use it in GitHub Desktop.
version: "2"
services:
ngx-html:
# Serve the static page
# ToDo ENV var for $NGINX_HOST in conf.d
container_name: html.g99999101_136
image: nginx:1.8.1
volumes_from: data-html
- "/data/extracted-html:/usr/share/nginx/html:ro"
volumes:
- "../ngx-static/configs/ngx-html.conf/:/etc/nginx/conf.d/default.conf"
restart: always
networks:
- spring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment