moneyman icon indicating copy to clipboard operation
moneyman copied to clipboard

Where docker save the 'json' output?

Open sdimantsd opened this issue 2 years ago • 1 comments

Hi, Thanks! I am using the json output. I get this message: Saved to: 📝 LocalJsonStorage (/app/output/2022-11-30T07:23:38.285Z.json)

But there is no dir '/app/output/' And also, there is no file named '2022-11-30T07:23:38.285Z.json' in all of me computer. So the question is, where the json saved and how can I change it?

sdimantsd avatar Nov 30 '22 07:11 sdimantsd

You can use docker volumes to persist files on the host.

For example (from the back of my head) docker run --rm -v /some/path:/app/output --env-file ".env" ghcr.io/daniel-hauser/moneyman:latest

daniel-hauser avatar Dec 01 '22 21:12 daniel-hauser

It's doesn't work, I get an error: Error: EACCES: permission denied, open '/app/output/2022-12-04T08:52:19.793Z.json'

sdimantsd avatar Dec 04 '22 08:12 sdimantsd