Can't manage to acces mounted storage with docker-compose app
demian ilie
0
Reputation points
I have made a file share and mounted it like this:
(not sure if i should censor anything but i did just to be safe)
but whenever i try to access the /outdata file like this:
services:
mongo_db:
container_name: db_container
image: mongo:
volumes:
- /outdata/mongo:/data/db
I get the exception: 2024-10-16T10:17:58.048Z ERROR - Exception in multi-container config parsing: YamlException: (Line: 9, Col: 7, Idx: 133) - (Line: 9, Col: 30, Idx: 156): Bind mount must start with ${WEBAPP_STORAGE_HOME}.
2024-10-16T10:17:58.058Z ERROR - Start multi-container app failed
Sign in to answer