馃悰 [BUG] - Litestream in docker compose not working #1357
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
I'm getting errors the way the docker compose file is being written right now.
When starting the undb service the following error occurs:
cannot fetch generations: cannot lookup bucket region: InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
It seems like someone else got the same issue and opened an issue (provides a fix):
benbjohnson/litestream#478
When mounting this fix through docker compose
./litestream.yml:/etc/litestream.yml
litestream.yml:
I am able to execute litestream replicate manually but I think because this line in the start.mjs:
undb/scripts/start.mjs
Line 10 in c832205
the command does not use the provided replicas? Maybe using an endpoint environment variable could fix it.
And with this line, the client threw a warning about one should use anonymous:
https://github.com/undb-xyz/undb/blob/c8322050fb569ac41d1d5462828dff326ff2e575/docker/docker-compose.minio.yaml#L37C7-L37C53
/usr/bin/mc anonymous set public undb_minio/undb;
This seems to fix the warning.
If you think this makes sense, I can also create a pull request.
Reproduction URL
No response
Reproduction steps
Execute the current docker compose file via `docker compose up`.
Screenshots
No response
Logs
Browsers
Chrome
The text was updated successfully, but these errors were encountered: