-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload error when running in docker localhost #35
Comments
also can gose be hosted as an API only server without frontend? |
In principle yes, however the API is slightly more elaborate due to the chunking and multi-part uploads. However, I have a Golang CLI client which implements this API on my roadmap. |
Regarding the docker-compose setup: Can you try changing We do not yet support internal and public S3 endpoints for the servers. |
Ok I will try this |
I am also having this issue when using If I set gose_1 | 2022/09/03 06:46:02 Detected Unknown S3 implementation for server http://localhost:9000/gose-uploads
gose_1 | 2022/09/03 06:46:03 Failed to setup servers: failed to set bucket gose-uploads's CORS rules: RequestError: send request failed
gose_1 | caused by: Put "http://localhost:9000/gose-uploads?cors=": dial tcp 127.0.0.1:9000: connect: connection refused
|
Hi @fdterr, I did some more research on this issue. And it seems like there is no easy solution. Since the localhost workaround does not work, could you maybe try to use a local IP address of the machine on which docker-compose is running instead? |
I just tried using the local IP address of the machine as well as
Have you been able to get docker-compose working yourself? @stv0g Or do you now is there some further configuration we have to do on minio to allow external access to the API? EDIT: when I add host.docker.internal:9000 as the GOSE_ENDPOINT and I enter the gose container and try EDIT EDIT: When I add a useragent, I am able to connect to minio from the gose container:
|
Could the documentation be updated to address this? as I'm currently struggling to get it working when I specify an external IP |
docker-compose.yml
.env
The text was updated successfully, but these errors were encountered: