I would like to map an external usb drive in my docker-compose.yml I used the following:
volumes:
external: true
#- bitcoin-data:/data original line commented out to attempt next line
- bitcoin-data:/run/media/directory name/external drive name/docker-base
However when running docker-compose up I receive the following:
ERROR: yaml.parser.ParserError: while parsing a block mapping
in "./docker-compose.yml", line 5, column 5
expected <block end>, but found '<scalar>'
in "./docker-compose.yml", line 16, column 8
Line 5 refers to the image and Line 16 refers to the external drive I am attempting to save data destination.