vintasoftware / django-react-boilerplate

Django 5, React, Bootstrap 5 with Python 3 and Webpack project boilerplate
MIT License
1.97k stars 479 forks source link

Running make docker_setup returns error with current version of docker-compose.yaml #604

Closed bfilipov closed 1 year ago

bfilipov commented 1 year ago

Running make docker_setup returns error with current version of docker-compose.yaml

ERROR: The Compose file './docker-compose.yml' is invalid because:
volumes.dbdata value Additional properties are not allowed ('name' was unexpected)
make: *** [Makefile:20: docker_setup] Error 1

Changing docker-compose version to 3.5 fixes the issue.

To Reproduce Steps to reproduce the behavior:

  1. Clone the project and follow instalation steps.
hugobessa commented 1 year ago

@bfilipov what OS/docker version are you using? I've just tried to reproduce the issue but wasn't able to. I've opened a PR (#605) for updating the docker-compose version to 3.5 anyway.

bfilipov commented 1 year ago

Versions are as follows: Docker version 24.0.4, build 3713ee1 Ubuntu 20.04.6 LTS