# Request: DsFolder Examples

**URL:** https://forum.pydio.com/t/request-dsfolder-examples/5769
**Category:** Roadmap / Requests
**Tags:** install
**Created:** [February 27, 2024, 4:45pm UTC](https://forum.pydio.com/t/request-dsfolder-examples/5769 "2024-02-27T16:45:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![instantdreams](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/instantdreams/32/2315_2.png) [@instantdreams](https://forum.pydio.com/u/instantdreams)
#### Post date: [February 27, 2024, 4:45pm UTC](https://forum.pydio.com/t/request-dsfolder-examples/5769/1 "2024-02-27T16:45:28Z")

</div>

I’ve reviewed the [YAML/JSON Installation](https://pydio.com/en/docs/cells/v4/yamljson-installation) documentation and searches these forums. I am looking for an example on how to add a set of data sources on initial configuration.

I have the following local filesystem directories:

- /mnt/software
- /mnt/shared

I would like them to be added as data sources during initial installation. Are there any examples available?

---

<div class="post-metadata">

### Author: ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)
#### Post date: [February 29, 2024, 1:20pm UTC](https://forum.pydio.com/t/request-dsfolder-examples/5769/2 "2024-02-29T13:20:56Z")

</div>

> [@instantdreams](#):
>
> I would like them to be added as data sources during initial installation. Are there any examples available?

So, you want to define more datasources than the default ones at installation time,  
**not** define an alternative location for the default datasources, am I right ?

If I understood your question correctly, it is not possible out of the box.  
Could you provide further details on your use case so that we might suggest a workaround?

---

<div class="post-metadata">

### Author: ![instantdreams](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/instantdreams/32/2315_2.png) [@instantdreams](https://forum.pydio.com/u/instantdreams)
#### Post date: [February 29, 2024, 3:42pm UTC](https://forum.pydio.com/t/request-dsfolder-examples/5769/3 "2024-02-29T15:42:53Z")

</div>

If it is not possible to add data sources during installation, the documentation for [YAML/JSON Installation](https://pydio.com/en/docs/cells/v4/yamljson-installation) needs to be updated.

However, I do see an example of the [install-conf.yml](https://github.com/pydio/cells/blob/14a119d9c5838a50f6e90d9782d0607b14b738fb/tools/docker/compose/ha/conf/install-conf.yml) file creating an S3 datasource.

I would assume that I could do similar for a local file system folder:

```YAML
dstype: local
dsname: shared
dsfolder: /mnt/shared

```

I am just looking for some examples, and if this **is** possible maybe the documentation could be updated to reflect this.

---

<div class="post-metadata">

### Author: ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)
#### Post date: [February 29, 2024, 5:16pm UTC](https://forum.pydio.com/t/request-dsfolder-examples/5769/4 "2024-02-29T17:16:39Z")

</div>

> If it is not possible to add data sources during installation, the documentation for [YAML/JSON Installation](https://pydio.com/en/docs/cells/v4/yamljson-installation) needs to be updated.

I must admit it might be completed/enriched, but this is yet the up-to-date protobuf file that we still use during installation.  
Note that not all parameters are used depending of some others

All parameters regarding datasources in this file are the ones used during installation when you choose the “advanced options”

> However, I do see an example of the [install-conf.yml](https://github.com/pydio/cells/blob/14a119d9c5838a50f6e90d9782d0607b14b738fb/tools/docker/compose/ha/conf/install-conf.yml) file creating an S3 datasource.

In this sample config file, we explicitly rather use S3 datasources for everything instead of the usual local ones.

For the record we have 6 default DS:

- My File and Common Files: the default DSs for the end user
- version, binary, thumb & cells: the _technical_ datasources that are internally used by the server.

When using the local file you can mainly customise the parent folder for all DSs that is by default `/var/cells/data`

If you define this param `dstype: S3`

You must then define:  
the main S3 connection:

```auto
dss3custom: http://minio:9000
dss3apikey: {$INSTALL_MINIO_ROOT_USER}
dss3apisecret: {$INSTALL_MINIO_ROOT_PASSWORD}

```

And the bucket name for each of the default 6 DSs.

So I do confirm that you cannot define additional datasources at installation time in addition to the 6 listed above.
