added support for postgres
This commit is contained in:
parent
df2f775244
commit
2112fa1f5b
2 changed files with 21 additions and 16 deletions
|
@ -24,7 +24,7 @@ COPY --from=builder /var/www /var/www
|
|||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY worker-entrypoint.sh /worker-entrypoint.sh
|
||||
COPY wait-for-db.php /wait-for-db.php
|
||||
RUN apt-install php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml optipng pngquant jpegoptim gifsicle ffmpeg php${PHPVER}-imagick php${PHPVER}-gd php${PHPVER}-redis php${PHPVER}-mysql &&\
|
||||
RUN apt-install php${PHPVER}-curl php${PHPVER}-zip php${PHPVER}-bcmath php${PHPVER}-intl php${PHPVER}-mbstring php${PHPVER}-xml optipng pngquant jpegoptim gifsicle ffmpeg php${PHPVER}-imagick php${PHPVER}-gd php${PHPVER}-redis php${PHPVER}-mysql php${PHPVER}-pgsql &&\
|
||||
a2enmod rewrite &&\
|
||||
sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf &&\
|
||||
sed -i 's/^post_max_size.*/post_max_size = 100M/g' /etc/php/${PHPVER}/apache2/php.ini &&\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue