Compare commits

...

33 Commits
3.3.1 ... 3.9.1

Author SHA1 Message Date
Sam
2932f92f4c 3.9.1 2017-11-14 15:24:03 +01:00
Sam
3ad282ac29 re3.9.0 2017-11-09 14:01:23 +01:00
Sam
507451d7ca 3.9.0 2017-11-09 13:53:53 +01:00
Sam
2d563e4b73 3.8.1 2017-10-23 14:39:16 +02:00
Sam
991b22e121 3.8.0 2017-10-15 15:01:13 +02:00
jelle
c4e8f3ea0b Mount MySQL volume to make data persistent 2017-10-15 14:53:13 +02:00
Samuel Laulhau
ee272cd52f add cipher/key 2017-10-15 14:51:01 +02:00
Sam
a60567ae16 3.7.2 2017-10-02 10:23:24 +02:00
Sam
d81542e536 3.7.1 2017-09-18 09:48:28 +02:00
Sam
19333d150a 3.7.0 2017-09-11 08:27:02 +02:00
Sam
ad1c976a31 3.6.1 2017-08-17 10:39:37 +02:00
Sam
bd7153a0b7 3.6.0 2017-08-08 11:51:37 +02:00
Sam
c1fde99ad4 3.5.1 2017-07-23 10:35:03 +02:00
Sam
c7d901f8c3 3.5.0 2017-07-23 10:34:47 +02:00
arubacao
e432564e48 Revert "Update php:7.0-fpm to php:7.1-fpm"
This reverts commit 17759c3df7.
2017-07-20 09:14:02 +02:00
arubacao
2d42e33da0 Revert "remove mcrypt"
This reverts commit ce4cf2118b.
2017-07-20 09:14:02 +02:00
arubacao
00ae03ce24 Revert "remove rijndael-128 as default cipher"
This reverts commit e0f46d2034.
2017-07-20 09:14:02 +02:00
arubacao
5f4e58ba77 Revert "use wildcard for nginx.conf"
This reverts commit 5d2760a47a.
2017-07-20 09:14:02 +02:00
arubacao
b822d9d53a Revert "add APP_KEY for the example"
This reverts commit c90e0dd42b.
2017-07-20 09:14:02 +02:00
arubacao
8a935f042e Revert "repeat steps for alpine"
This reverts commit ddb96915cf.
2017-07-20 09:14:02 +02:00
arubacao
ddb96915cf repeat steps for alpine 2017-07-13 17:58:50 +02:00
arubacao
c90e0dd42b add APP_KEY for the example 2017-07-13 17:58:50 +02:00
arubacao
5d2760a47a use wildcard for nginx.conf 2017-07-13 17:58:50 +02:00
arubacao
e0f46d2034 remove rijndael-128 as default cipher 2017-07-13 17:58:50 +02:00
arubacao
ce4cf2118b remove mcrypt 2017-07-13 17:58:50 +02:00
arubacao
17759c3df7 Update php:7.0-fpm to php:7.1-fpm 2017-07-13 17:58:50 +02:00
Sam
c97fd64020 3.4.2 2017-06-30 14:45:02 +02:00
Sam
467960061b 3.4.1 2017-06-22 20:48:57 +02:00
Sam
2dfa7e1edd 3.4.0 2017-06-18 12:53:09 +02:00
Sam
475b3e7121 notice on phantomjs/alpine 2017-06-18 12:52:36 +02:00
Sam
7c40a5a813 alpine change phantomjs bin path 2017-06-11 16:55:34 +02:00
Sam
b92c8d928e fix phantomjs install in alpine 2017-06-11 14:25:18 +02:00
Sam
0ed2a1cf4c 3.3.3 2017-05-16 09:38:58 +02:00
5 changed files with 18 additions and 21 deletions

View File

@@ -44,7 +44,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
# DOWNLOAD AND INSTALL INVOICE NINJA
#####
ENV INVOICENINJA_VERSION 3.3.1
ENV INVOICENINJA_VERSION 3.9.1
RUN curl -o invoiceninja.tar.gz -SL https://github.com/hillelcoren/invoice-ninja/archive/v${INVOICENINJA_VERSION}.tar.gz \
&& tar -xzf invoiceninja.tar.gz -C /var/www/ \

View File

@@ -32,3 +32,6 @@ docker run -d
A list of environment variables can be found [here](https://github.com/invoiceninja/invoiceninja/blob/master/.env.example)
### Know issue
Phantomjs doesn't work on linux alpine https://github.com/ariya/phantomjs/issues/14186

View File

@@ -6,30 +6,20 @@ MAINTAINER Samuel Laulhau <sam@lalop.co>
# SYSTEM REQUIREMENT
#####
ENV PHANTOMJS phantomjs-2.1.1-linux-x86_64
RUN apk update
RUN apk add libmcrypt-dev
# RUN apk add zlib1g-dev
RUN apk add git
RUN apk add gmp-dev
RUN apk add freetype-dev
RUN apk add libjpeg-turbo-dev
RUN apk add libpng-dev
RUN apk add coreutils
RUN apk add chrpath
# RUN apk add libssl-dev
# RUN apk add libxft-dev \
# libfreetype6 libfontconfig1 libfontconfig1-dev \
RUN apk update \
&& apk add --no-cache libmcrypt-dev git gmp-dev freetype-dev libjpeg-turbo-dev \
coreutils chrpath fontconfig libpng-dev
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/local/include/ \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gmp \
&& docker-php-ext-install iconv mcrypt mbstring pdo pdo_mysql zip gd gmp opcache \
&& curl -o ${PHANTOMJS}.tar.bz2 -SL https://bitbucket.org/ariya/phantomjs/downloads/${PHANTOMJS}.tar.bz2 \
&& tar xvjf ${PHANTOMJS}.tar.bz2 \
&& rm ${PHANTOMJS}.tar.bz2 \
&& mv ${PHANTOMJS} /usr/local/share \
&& ln -sf /usr/local/share/${PHANTOMJS}/bin/phantomjs /usr/local/bin \
&& rm -rf /var/lib/apt/lists/* \
&& echo "php_admin_value[error_reporting] = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED">>/usr/local/etc/php-fpm.d/www.conf
RUN cd /usr/share \
&& curl -L https://github.com/Overbryd/docker-phantomjs-alpine/releases/download/2.11/phantomjs-alpine-x86_64.tar.bz2 | tar xj \
&& ln -s /usr/share/phantomjs/phantomjs /usr/local/bin/phantomjs
# set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php
@@ -52,7 +42,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
# DOWNLOAD AND INSTALL INVOICE NINJA
#####
ENV INVOICENINJA_VERSION 3.3.1
ENV INVOICENINJA_VERSION 3.9.1
RUN curl -o invoiceninja.tar.gz -SL https://github.com/hillelcoren/invoice-ninja/archive/v${INVOICENINJA_VERSION}.tar.gz \
&& tar -xzf invoiceninja.tar.gz -C /var/www/ \

View File

@@ -2,6 +2,8 @@
APP_DEBUG=1
APP_URL=http://localhost:8000
APP_KEY=SomeRandomStringSomeRandomString
APP_CIPHER=AES-256-CBC
DB_USERNAME=root
DB_PASSWORD=pwd
DB_HOST=mysql

View File

@@ -6,6 +6,8 @@ services:
environment:
MYSQL_DATABASE: ninja
MYSQL_ROOT_PASSWORD: pwd
volumes:
- ./var/mysql:/var/lib/mysql
app:
image: invoiceninja/invoiceninja