Skip to content
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

Docker error while trying to build #1

Open
MaxtronGaming opened this issue Oct 22, 2021 · 4 comments
Open

Docker error while trying to build #1

MaxtronGaming opened this issue Oct 22, 2021 · 4 comments

Comments

@MaxtronGaming
Copy link

When trying to execute the make build command, i get this error:

ERROR: The Compose file './docker-compose.yml' is invalid because:
volumes.db-data value Additional properties are not allowed ('name' was unexpected)
volumes.media-volume value Additional properties are not allowed ('name' was unexpected)
volumes.ml-volume value Additional properties are not allowed ('name' was unexpected)
volumes.static-previews value Additional properties are not allowed ('name' was unexpected)
volumes.static-thumbnails value Additional properties are not allowed ('name' was unexpected)
make: *** [Makefile:4: build] Error 1

Docker version: 20.10.9
Docker-compose version: 1.21.0
OS: Debian 10

@MaxtronGaming
Copy link
Author

After commenting out the following lines i get a new error
grafik

/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.  """)
bash: line 1:     8 Illegal instruction     (core dumped) python manage.py makemigrations

@EinAeffchen
Copy link
Owner

Does the error appear in the running container or do you get it running make all?

@MaxtronGaming
Copy link
Author

Sorry forgot to mention that the second error happens when I try to run the stack. I narrowed it down to the django container.

@SHx7ejs7fCrP
Copy link

worked for me after commenting the lines said by @ MaxtronGaming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants