# Hotfolder

Assuming you use a docker-compose.yml file and your hotfolder will be located at `/srv/fylr/_hotfolder`:

1. Create on your fylr instance the directory and change its permissions. The user permissions must be the same as the one your fylr runs.

```bash
mkdir /srv/fylr/_hotfolder
chown 1000 /srv/fylr/_hotfolder
```

2. Map the folder into the fylr container.

docker-compose.yml:

```yaml
services:
  fylr:
    volumes:
      - "/srv/fylr/_hotfolder:/fylr/_hotfolder"
```

3. Set `webDAVHotfolderPath` in your fylr.yml. Note this path is inside the container.

```yaml
fylr:
  services:
    api:
      webDAVHotfolderPath: "/fylr/_hotfolder"
```

4. Recreate your fylr container.
5. Visit the fylr frontend and activate the hotfolder:

![Image](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-6558cd5881063dd0c4841c02379c8565abad2fad%2Ffylr-integration_activate-hotfolder.png?alt=media)
