-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Docker image assumes running in AWS infrastructure for S3 storage method #53
Comments
Yeah, the best way to handle this would probably be a |
I can create a pull request for this. |
@nullrocket That's awesome, to make things go smoothly please remember to sign our CLA --> https://github.com/atlassian/nucleus#contributors |
Fixed in #46 |
I don't think this issue is resolved. When not using aws EC2, even after adding an endpoint to
|
Also having the same issue here, trying to connect to DigitalOcean spaces. I've tried using the recommended environmental variables and a mounted config file (using |
@damienallen I'm interested in using DigitalOcean spaces too. I didn't want to derail this issue, so I made a new one #84. I'd be happy to help get support for DigitalOcean Spaces implemented. If you've made progress, would you be interested in sharing? We can continue this conversation on #84. |
I deploy on Scaleway using their Object Storage service and can't get this to work, I made sure everything is fine but yeah, it fails on
|
This might be related: aws/aws-sdk-js#692 I was able to connect to a local Minio server to test the S3 update interaction by having the following s3 configuration. What basically did it was passing in the S3 configuration directly. The s3: {
init: {
endpoint: "http://127.0.0.1:9000",
s3ForcePathStyle: true,
signatureVersion: "v4",
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
},
bucketName: 'test-update',
cloudfront: null
}, |
I am getting the same error when running the app as a Fargate/ECS container, with the AWS ECS Task Role granted full access to the S3 bucket. In the configuration I have only specified bucket name and have set file strategy to "s3". An example of configuring the app for the full-AWS setup would be appreciated. |
Nice! I have it successfully running in a very similar fashion - ECS + Fargate + Parameter store for env variables but it took a while to get things right. I'll have a write-up in the coming days I can share. |
@b-zurg Did you ever write up the details on how you configured nucleus to run on Fargate? |
Got it working, setting:
I'm running the container inside of the EKS, will be good if we could use the assumed role, but the SDK version is too old and does not have support for it. Thanks for the input @b-zurg |
I don't run the docker image on EC2 or even AWS infrastructure so the following fails
Commenting it out and passing ENV variables for AWS credentials to docker run works, but a flag on the s3 config in config.js would probably be better. Unless I'm missing some other way to override.
The text was updated successfully, but these errors were encountered: