mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Fixes for custom php.ini
This commit is contained in:
@@ -45,10 +45,7 @@ LABEL maintainer="David Bomba <turbo124@gmail.com>"
|
|||||||
# With this we get native support for caching_sha2_password
|
# With this we get native support for caching_sha2_password
|
||||||
RUN apk add --no-cache mariadb-connector-c
|
RUN apk add --no-cache mariadb-connector-c
|
||||||
|
|
||||||
#RUN mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
|
RUN mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
COPY ./config/php/php.ini /usr/local/etc/php/php.ini
|
|
||||||
COPY ./config/php/php-cli.ini /usr/local/etc/php/php-cli.ini
|
|
||||||
|
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
# https://hub.docker.com/r/mlocati/php-extension-installer/tags
|
# https://hub.docker.com/r/mlocati/php-extension-installer/tags
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ services:
|
|||||||
- ./config/hosts:/etc/hosts:ro
|
- ./config/hosts:/etc/hosts:ro
|
||||||
- ./docker/app/public:/var/www/app/public:rw,delegated
|
- ./docker/app/public:/var/www/app/public:rw,delegated
|
||||||
- ./docker/app/storage:/var/www/app/storage:rw,delegated
|
- ./docker/app/storage:/var/www/app/storage:rw,delegated
|
||||||
|
- ./config/php/php.ini:/usr/local/etc/php/php.ini
|
||||||
|
- ./config/php/php-cli.ini:/usr/local/etc/php/php-cli.ini
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user