version: '2' services: notebook: build: . ports: - "8888:8888" volumes: - "~/Projects/yield-curve:/opt/yield"