forked from Wavyzz/dolibarr
docker-dev: add support for postgresql database
The PostgreSQL database can be used as the following:
docker compose -f docker-compose.yml -f docker-compose.postgres.yml up
This allows a bit more modularity and ensuring people can start a
PostgreSQL development setup quickly.
This commit is contained in:
@@ -23,10 +23,11 @@ RUN apt-get update -y \
|
||||
msmtp \
|
||||
msmtp-mta \
|
||||
mailutils \
|
||||
libpq-dev \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql gd soap zip \
|
||||
&& docker-php-ext-install -j$(nproc) calendar intl mysqli pdo_mysql pgsql gd soap zip \
|
||||
&& docker-php-ext-configure ldap \
|
||||
&& docker-php-ext-install -j$(nproc) ldap && \
|
||||
mv ${PHP_INI_DIR}/php.ini-development ${PHP_INI_DIR}/php.ini
|
||||
|
||||
Reference in New Issue
Block a user