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!

  • mbirth@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Yes, it’s explained in the documentation.

    E.g.:

    SAMBA_GLOBAL_CONFIG_bind_SPACE_interfaces_SPACE_only: yes
    

    maps to:

    [global]
    bind interfaces only = yes
    

    This way you don’t need to provide any extra configuration file.

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      23 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.