This repository has been archived by the owner on May 20, 2023. It is now read-only.
Docker compose doesn't work #15
Unanswered
virtual-avatar
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
Container does not start when used docker compose:
// docker-compose.yml version: "2" services: debugger: image: butschster/buggregator:latest environment: DB_CONNECTION: pgsql DB_HOST: db DB_DATABASE: homestead DB_USERNAME: homestead DB_PASSWORD: secret ports: - 23517:8000 - 1025:1025 - 9912:9912 - 9913:9913
an error is displayed in the console logs:
debugger_1 | [2021-09-19 13:00:08] production.ERROR: could not find driver (SQL: select tablename from pg_catalog.pg_tables where schemaname in ('public')) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 0): could not find driver (SQL: select tablename from pg_catalog.pg_tables where schemaname in ('public')) at /app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:692)
There are no problems when launching the docker image:
docker run --pull always -p 23517:8000 -p 1025:1025 -p 9912:9912 -p 9913:9913 butschster/buggregator:latest
I read the instruction incorrectly, it was necessary to specify the connection parameters for the external database.
the problem is not relevant
Beta Was this translation helpful? Give feedback.
All reactions