Skip to content

Instantly share code, notes, and snippets.

@jt-nti
Created April 26, 2019 10:11
Show Gist options
  • Save jt-nti/f815f4d84efb72437259184da7f71955 to your computer and use it in GitHub Desktop.
Save jt-nti/f815f4d84efb72437259184da7f71955 to your computer and use it in GitHub Desktop.
Quick and dirty hack to host a local maven repository which messing about with Fabric Java chaincode. Didn't actually work but the nginx image seems useful for future hacking!
version: '2'
networks:
maven:
services:
maven:
container_name: maven
image: nginx
ports:
- 7080:80
volumes:
- ${HOME}/.m2/repository:/usr/share/nginx/html:ro
networks:
maven:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment