Portway provides persistent storage through Docker volumes, allowing your applications to maintain data across deployments and restarts.Documentation Index
Fetch the complete documentation index at: https://docs.portway.dev/llms.txt
Use this file to discover all available pages before exploring further.
Volume types
Portway supports named volumes defined in your Docker Compose file. Onlyvolume type volumes are supported for security and portability reasons.
Volume persistence
- Data persistence: Volumes maintain data across container restarts and redeployments
- Backup: Regular backups are handled automatically by the platform
- Scaling limitations: Services with volumes cannot be scaled beyond a single instance
Best practices
Database storage
Store database files in named volumes to ensure data persistence:Application data
Use volumes for user uploads, logs, or other persistent application data:Configuration files
For configuration that needs to persist between deployments:Limitations
- Only named volumes are supported (no bind mounts or tmpfs)
- Services with volumes cannot use autoscaling
- Volume access is limited to the service that defines them