Всем привет
В docker compose вот так
postgre:
image: postgres:14.5-alpine
restart: unless-stopped
tty: true
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: scantour
ports:
- "5432:5432"
volumes:
- ./docker/postgres:/var/lib/postgresql/data
networks:
- laravel
env
DB_CONNECTION=pgsql
DB_HOST=postgre
DB_PORT=5432
DB_DATABASE=data
DB_USERNAME=root
DB_PASSWORD=root
dockerfile
FROM php:8-fpm-alpine
RUN mkdir -p /var/www/html
WORKDIR /var/www/html
RUN set -ex \
&& apk --no-cache add \
postgresql-dev
RUN docker-php-ext-install pdo_pgsql pgsql
Получаю ошибку could not find driver что может быть не так?