I want to use s3fs plugin to connect my private storage minio but I can't fix syntax error (I'm dumb. Need help)
version: '3'
services:
web:
image: darron1217/docker-nginx-php-git:php7
volumes:
- web:/var/www/html
ports:
- 80:80
volumes:
web:
driver: rexray/s3fs
driver_opts:
accessKey: abcdef
secretKey: 12345678
endpoint: http://localhost:9001
region: us-east-1
disablePathStyle: false
options:
- url=http://localhost:9001
- use_path_request_style
- nonempty
The error
The Compose file '.\docker-compose.test.yml' is invalid because:
volumes.web.driver_opts.disablePathStyle contains an invalid type, it should be a string, or a number
volumes.web.driver_opts.options contains an invalid type, it should be a string, or a number
No never mind
What was the right syntax?
Please I have this error too, I need to specify nonempty option
Does anyone have a reference for how rexray/s3fs plugin would like options formatted in compose's driver_opts?