'host' => ':memory:',
'type' => 'sqlite',
'pdo' => '',
- '_import' => 'nb',
+ '_import' => [],
#'order' => '0',
'options' => [
PDO::ATTR_PERSISTENT => true,
],
'tables' => [],
'sql_pre' => [
- 'PRAGMA busy_timeout = 1000',
#'PRAGMA synchronous=NORMAL',
+ 'PRAGMA busy_timeout = 1000',
'PRAGMA journal_mode=MEMORY',
],
];
--- /dev/null
+/opt/nb/lib/css
\ No newline at end of file
--- /dev/null
+/opt/nb/lib/jquery
\ No newline at end of file
--- /dev/null
+/opt/nb/lib/js
\ No newline at end of file
# Install Postgre PDO
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get -q=2 update && apt-get -q=2 -y install libpq-dev
#RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
-RUN set -ex && apk --no-cache add postgresql-dev
+RUN set -ex && apk --no-cache add postgresql-dev sqlite perl perl-uri perl-encode
RUN docker-php-ext-install pdo pdo_mysql pdo_sqlite pdo_sqlite pdo_pgsql pgsql
RUN mkdir -p /var/www/html && echo '<html><head><title>Welcom to php:7.0-fpm-alpine</title></head><body><h1>Welcom to php:7.0-fpm-alpine</h1></body></html>' > /var/www/html/index.php