You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**NOTE:** Using `mount` requires that your container runs with the `CAP_SYS_ADMIN` capability turned on. [See this answer for more information](https://github.com/yieldstudio/sftp/issues/60#issuecomment-332909232).
109
109
110
+
111
+
110
112
## S3FS Mounting
111
113
112
-
You can mount an S3 bucket using s3fs. You need to provide your AWS credentials and the bucket name as environment variables. You also need to install s3fs in the container. You can do this by creating a custom Dockerfile that extends the yieldstudio/sftp image.
114
+
You can mount an S3 bucket using s3fs with the following environment variables:
115
+
116
+
-`S3FS_ENABLED`: enable S3FS mounting (`true` or `1`)
117
+
-`AWS_BUCKET`: S3 bucket name
118
+
-`AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`: AWS credentials
119
+
-`S3FS_CREDENTIALS`: alternative, format `access_key:secret_key`
0 commit comments