Is there a way to setup an SMB share or similar via docker? I want to be able to easily turn it off and bind it to a specific folder, and I am comfortable with docker.

Thanks!

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    I’m well aware of how inline environment variables work, but that is one helldammer of a name for one, and I rarely see anyone use actual spaces in .env file variable, let alone translate a space to SPACE in a variable name.

    • mbirth
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 hours ago

      These variable names are dynamically parsed and used for generating the smb.conf.

      And if you need a way to support underscores AND spaces (which are not allowed in a variable name), you have to get creative.

      I like the solution as it allows me to encode any possible configuration value (even the most obscure one) in the compose file.