Closed Yahoo-Mike closed 2 years ago
Thanks for the bug report.
First, docker-compose complains that version 3.8 doesn't exist
So I changed the version to 3.3. Docker-compose then complains about the volumes definition of skills_db_data
docker-compose: 1.25.0
Your docker compose version is too old (3 years). You should update to the latest 2.6.0
or the old python based 1.29.2
version. The newer versions introduced the support for compose file version 3.8
.
In general, you should only use the tagged release versions of the code (e.g. 0.3.1) if you want to use a stable version. Because builds from main are not stable and can contain undocumented breaking changes.
I upgraded docker-compose to v2.6.0, as you suggested. And I fetched the tagged source for 0.3.1. All working again.
Thanks.
Describe the bug
I fetched latest code on main branch. When I rebuild and run the docker container, I get a fatal error: "Database password is not set" from config.py.
I suspect it has to do with the migration to postgres. Maybe I'm missing a step?
I tried to update my local docker_compose.yml (called _alexaskill.yml) with the changes for postgres, but have multiple issues. First, docker-compose complains that version 3.8 doesn't exist:
So I changed the version to 3.3. Docker-compose then complains about the volumes definition of _skills_dbdata:
Any ideas what I'm doing wrong?
Versions
I'm building a docker container from the latest code on main branch.
OS: Ubuntu Server 20.04 LTS docker: 20.10.17 docker-compose: 1.25.0 python: 3.8.10