Skip to main content

File Mounts

File mounts inject a static file into your container at a specified path. The content is stored in the QuickStack database and mounted as read-only. The running container cannot modify it.

Typical use cases: nginx.conf, config.json, TLS certificates, environment-specific config files of any kind.

Volume vs File Mount

VolumeFile Mount
Use whenPersistent app data (databases, uploads, logs)Small config files, certificates
SizeMBs to GBsSmall files (KB range)
AccessRead-writeRead-only
PersistenceStored on diskStored in QuickStack DB

Configure a file mount

  1. Open your app and go to the Storage tab.
  2. Scroll to the File Mount card and click Add File Mount.
  3. Fill in:
    • Mount Path — full path inside the container (e.g. /etc/nginx/nginx.conf)
    • File Content — the text content of the file
  4. Click Save, then Deploy.
Redeploy required

File mount changes only take effect after redeployment. Mounted files are read-only inside the container.

Troubleshooting

SymptomFix
App sees old file contentConfirm you redeployed after saving the file mount
App fails to startVerify the mount path is correct; check that the file content is valid
Can't write to the file from containerBy design — file mounts are read-only; use a Volume if you need read-write access