Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: default share of /data/config.yml #5

Open
jhelmink opened this issue Aug 28, 2021 · 1 comment
Open

Feature: default share of /data/config.yml #5

jhelmink opened this issue Aug 28, 2021 · 1 comment

Comments

@jhelmink
Copy link

Not a bug, just an idea.

Most people using this container are wanting to use it to share something that has been made available to the container using a mapped volume. Accessing and editing the config.yml from inside the container can be difficult, depending on your linux knowledge.

My suggestion is that by default, on first build, if it doesn't already exist, a /data/config.yml is created that is configured to share the /data folder in a public share. It could also contain a commented section with a full config example for reference.

This would enable users to immediately remotely access and edit the config.yml to suit their needs, just restarting the container for the new config to take effect.

@jhelmink
Copy link
Author

auth:
  - user: dockerSamba
    group: dockerSambaGroup
    uid: 1000
    gid: 1000
    password: dockerSambaSecurePassword
global:
  - "force user = dockerSamba"
  - "force group = dockerSambaGroup"
share:
  - name: data
    comment: Public
    path: /data
    browsable: yes
    readonly: no
    guestok: yes
    veto: no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant