Skip to content

Instantly share code, notes, and snippets.

@russmckendrick
Created February 22, 2015 11:13
Show Gist options
  • Save russmckendrick/c92d85897435443e5be8 to your computer and use it in GitHub Desktop.
Save russmckendrick/c92d85897435443e5be8 to your computer and use it in GitHub Desktop.
Fig YML
app:
# container can be either built from Dockerfile or from image
# in this case we will tell fig to build image in current directory
build: ./
# map ports
ports:
- "8080:8080"
# mount volumes
volumes:
- ./:/code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment