11
Find Docker config files (self.selfhosted)
submitted 4 weeks ago* (last edited 3 weeks ago) by Dust0741 to c/selfhosted

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]

top 5 comments
sorted by: hot top controversial new old
[-] AbouBenAdhem 5 points 4 weeks ago* (last edited 4 weeks 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 3 points 4 weeks ago* (last edited 4 weeks 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.

[-] [email protected] 1 points 4 weeks ago

docker cp is nice for that.

[-] [email protected] 1 points 4 weeks ago

Here is an alternative Piped link(s):

this video

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] [email protected] -1 points 4 weeks ago

New Lemmy Post: Find Docker config files (https://lemmyverse.link/lemmy.world/post/14522491)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md

this post was submitted on 21 Apr 2024
11 points (86.7% liked)

Selfhosted

36999 readers
350 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 11 months ago
MODERATORS