[backend] support postgres
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
|||||||
MARIADB_ROOT_PASSWORD: root
|
MARIADB_ROOT_PASSWORD: root
|
||||||
MARIADB_DATABASE: app
|
MARIADB_DATABASE: app
|
||||||
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'no'
|
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'no'
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- ./var/volumes/mariadb:/var/lib/mysql:rw
|
- ./var/volumes/mariadb:/var/lib/mysql:rw
|
||||||
- ./var/volumes/backend-var:/var/www/var
|
- ./var/volumes/backend-var:/var/www/var
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ RUN install-php-extensions opcache iconv soap
|
|||||||
RUN install-php-extensions zip intl fileinfo
|
RUN install-php-extensions zip intl fileinfo
|
||||||
RUN install-php-extensions pdo redis mysqli pdo_mysql
|
RUN install-php-extensions pdo redis mysqli pdo_mysql
|
||||||
RUN install-php-extensions gd
|
RUN install-php-extensions gd
|
||||||
|
RUN install-php-extensions pgsql pdo_pgsql
|
||||||
|
|
||||||
# Composer
|
# Composer
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
|
||||||
|
|||||||
Reference in New Issue
Block a user