Hey y'all, I've deployed Airbyte locally and I'm t...
# replication-troubleshooting
j
Hey y'all, I've deployed Airbyte locally and I'm trying to read a file as a source, but I'm not sure how to get my file into the tmp/airbyte_local mount so Airbyte can see it... any thoughts?
n
j
I'm on Windows. I have looked at both of these sources, but I haven't found them helpful for getting a file into the Docker container. I'm trying to use a File as a source, but I haven't found any helpful resources for mounting a File into the container to be able to use it as a source.
n
• The path must be a folder inside the container of Airbyte • You must map your local volume to the docker deployment in this file: https://github.com/airbytehq/airbyte/blob/ce201bc4129b34e27550c6c195481349eccf0360/docker-compose.yaml#L141-L144 So you'd need to add a line to `volumes`:
local/path/to/file:docker/path/to/file
Here is Docker documentation on this: https://docs.docker.com/compose/compose-file/compose-file-v3/#volumes https://stackoverflow.com/questions/23439126/how-to-mount-a-host-directory-in-a-docker-container