# Craft CMS 6 assets on fortrabbit

Source: https://docs.fortrabbit.com/guides/craft-cms/craft-6/assets
Published: 2026-11-27
Updated: 2026-11-27
Reviewed: 2026-11-27

> Store Craft CMS 6 uploads on the Laravel public disk in storage, keep them across deployments on fortrabbit, sync them with rsync, or use S3.


## Install and deploy run down

1. [Install Craft CMS 6 locally](/guides/craft-cms/craft-6/install)
2. [Set up an app at fortrabbit](/guides/craft-cms/craft-6/setup)
3. [Deploy code via Git](/guides/craft-cms/craft-6/deployment)
4. [Database syncing](/guides/craft-cms/craft-6/database)
5. **Assets** _← you are here_

## Volumes on Laravel disks

Craft CMS 6 drops its own filesystems. A volume stores its files on a Laravel disk from `config/filesystems.php`, chosen in the volume settings in the Control Panel.

Use the `public` disk of the skeleton. It stores files in `storage/app/public`, and `/storage` is excluded from [deployments](/guides/craft-cms/craft-6/deployment), so uploads survive every deployment. Give each volume its own subpath, such as `uploads`.

## The storage link

The `public` disk serves files under `https://…/storage/`, through the `public/storage` symlink. The replace strategy deletes that link on every deployment, so the post-deploy commands create it again:



```shell
php artisan storage:link --force
```

Without it, uploaded images return 404 after a deployment. Add the command to the post-deploy commands of an app created before the template had it.

## Sync assets with rsync

Uploads stay out of git. Copy them with [rsync](/dev/how-to/rsync):



```shell
# UP: local to fortrabbit
rsync -av ./storage/app/public/ {{app-env-id}}@ssh.{{region}}.frbit.app:storage/app/public/

# DOWN: fortrabbit to local
rsync -av {{app-env-id}}@ssh.{{region}}.frbit.app:storage/app/public/ ./storage/app/public/
```

Add `--dry-run` to see what would change first.

## Store assets in S3

The `s3` disk of the skeleton reads `AWS_*` [ENV vars](/platform/settings/env-vars) and needs the `league/flysystem-aws-s3-v3` package. Uploads then go to the bucket instead of the environment's [storage](/platform/components/storage). It adds a service to pay for and set up, so use it for many or large files. See [Laravel's filesystem docs](https://laravel.com/docs/filesystem#amazon-s3-compatible-filesystems).
