anyproto / any-sync-dockercompose

docker-compose for testing any-sync
MIT License
339 stars 43 forks source link

create-bucket unable to create MinIO bucket #37

Closed azaidi4 closed 5 months ago

azaidi4 commented 5 months ago

Have you read a contributing guide?

Current Behavior

Container any-sync-dockercompose-create-bucket-1 exits with the following error

mc: <ERROR> Unable to make bucket `minio/minio-bucket`. Put "http://minio:9111/minio-bucket/": dial tcp 172.21.0.3:9111: connect: connection refused

On viewing the web-ui for created MinIO instance, bucket minio-bucket is missing

Expected Behavior

any-sync-dockercompose-create-bucket-1 creates bucket and displays output of mc mb minio/${MINIO_BUCKET} in docker logs as instructed in docker-compose.yml

Steps To Reproduce

  1. git clone repo
  2. Update .env
    - MINIO_PORT=9111
    - MINIO_WEB_PORT=9180
    - EXTERNAL_ANY_SYNC_ADMIN_PORT=82
    - EXTERNAL_LISTEN_HOST="192.168.0.201"
  3. make start

Environment

- OS: Debian GNU/Linux 12 (bookworm)
- Version: 3.0.0

Anything else?

I don't see the bucket being used even after creating minio-bucket bucket manually through minio web-ui. It is empty even after uploading some test files into my space.

fb929 commented 5 months ago

yes, currently changing minio port is not working