-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Cloud Storage
Ashley Davis edited this page Apr 21, 2026
·
5 revisions
Photosphere supports S3-compatible storage for both local and cloud deployments. You can use AWS S3, DigitalOcean Spaces, MinIO, or any S3-compatible service.
For detailed instructions on setting up Digital Ocean Spaces, see Configuration-Digital-Ocean-Spaces.
Use the secrets add command to store your S3 credentials and Google API key:
psi secrets addAlternatively, set AWS credentials using environment variables:
export AWS_ACCESS_KEY_ID=<your-access-key-id>
export AWS_SECRET_ACCESS_KEY=<your-secret-key>
export AWS_REGION=us-east-1 # Set this to us-east-1 for Digital Ocean.
export AWS_ENDPOINT=https://syd1.digitaloceanspaces.com # If using Digital Ocean, replace with the endpoint for your DO data center.Once configured, you can use S3 paths directly in commands:
# Replicate a local database to S3
psi replicate --db my-photos --dest s3:my-bucket/photos
# Initialize an empty database in S3
psi init --db s3:my-bucket/photos
# Add files to S3-backed database
psi add --db s3:my-bucket/photos ~/Pictures/*.jpgTo remove stored credentials, use psi secrets delete and select the secret to remove.