Skip to content

Instantly share code, notes, and snippets.

@zhepa zhepa/.yml
Created Apr 15, 2019

Embed
What would you like to do?
version: "3"
services:
nginx:
image: nginx:latest
volumes:
- ./mysite.template:/etc/nginx/conf.d/mysite.template
ports:
- "80:80"
command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
registry:
image: verdaccio/verdaccio:latest
ports:
- "4873:4873"
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.