Created
April 5, 2018 00:38
-
-
Save kalw/73f4cd7f0dc1d3cce0c093c41f91b581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.2" | |
| services: | |
| nfs-server: | |
| image: itsthenetwork/nfs-server-alpine | |
| ports: | |
| - "2049:2049" | |
| environment: | |
| - SHARED_DIRECTORY=/code | |
| volumes: | |
| - .:/code | |
| web: | |
| image: trinitronx/python-simplehttpserver | |
| volumes: | |
| - type: volume | |
| source: nfsvolume | |
| target: /var/www | |
| volume: | |
| nocopy: true | |
| ports: | |
| - "8000:8000" | |
| depends_on: | |
| - nfs-server | |
| volumes: | |
| nfsvolume: | |
| driver_opts: | |
| type: nfs | |
| o: "addr=nfs-server,rw" | |
| device: ":/code" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment