I want to find my docker config file.

This is for Dashy. I want to make a Widget (like this), but need to access the conf.yml file associated to Dashy. Also see this video @15:42 (invidious)

Dashy was installed (I removed the “-v” line like they said) via docker, and doesn’t have any volumes mapped.


Edit: Well duh. I mapped /home/user/dashy/conf.yml to /app/user-data/conf.yml and filled my previous conf in and re-deployed and boom; perfection. Thanks for the help @[email protected] and @[email protected]

  • @AbouBenAdhem
    link
    English
    5
    edit-2
    29 days ago

    If you didn’t map a local config file into the container, it’s using the default version inside the container at /app/public/conf.yml (and any changes will get overwritten when you rebuild the container). If you want to make changes to the configuration for the widget, you’ll want to use the -v option with a local config file so the changes you make will persist.

  • @VelociCatTurd
    link
    English
    3
    edit-2
    29 days ago

    It’s at /app/public/conf.yml within the container. But I suppose you’re asking how you would pull it out? I’d probably just get into the container interactively and just copy the contents of that file. I would suggest using volumes in the future for persistent data.