Add docker image to support Apache rewrites and PSQL

master
Bofh 1 year ago
parent ff33fd7bcf
commit 49016345da

@ -19,7 +19,7 @@ services:
web:
restart: always
image: php:8.0-apache
build: docker
environment:
- ENV=dev # if not set, production mode is ON
volumes:

@ -0,0 +1,6 @@
FROM php:8.0-apache
RUN apt-get update && apt-get install -y libpq-dev
RUN docker-php-ext-install pdo pdo_pgsql pgsql
RUN a2enmod rewrite
Loading…
Cancel
Save