Skip to content

Instantly share code, notes, and snippets.

@developernaren
Last active June 15, 2017 17:31
Show Gist options
  • Save developernaren/3e6e583433d299c989e6d7e9748fb75f to your computer and use it in GitHub Desktop.
Save developernaren/3e6e583433d299c989e6d7e9748fb75f to your computer and use it in GitHub Desktop.
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./public://var/www/api.pagevamp/public
- ./:/var/www/api.pagevamp
- ./pagevamp.conf:/etc/nginx/conf.d/default.conf
links:
- php
external_links:
- pagevamp_mysql
php:
image: b72b2db8a32d
volumes:
- ./public:/var/www/api.pagevamp/public
- ./:/var/www/api.pagevamp
external_links:
- pagevamp_mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment