Compare commits

...

13 Commits
2.5.2.1 ... 2.7

Author SHA1 Message Date
Samuel Laulhau
bd9e15fb3e 2.7 2016-09-12 14:55:22 +02:00
Samuel Laulhau
7b040d5343 2.6.11 2016-09-06 15:33:54 +02:00
Samuel Laulhau
f9c7390138 2.6.10 2016-08-14 16:15:56 +02:00
Samuel Laulhau
3b801b876c 2.6.8 2016-08-05 22:32:33 +02:00
Sam
56f713bcd3 add docker-compose to the repos 2016-07-31 21:38:03 +02:00
Sam
17344e3d47 add APP_CIPHER rijndael-128 in env 2016-07-31 21:37:48 +02:00
Sam
352059a10b 2.6.7 2016-07-28 11:55:36 +02:00
Sam
fec1d175f9 2.6.6 2016-07-27 16:21:10 +02:00
Sam
8a28648b90 2.6 2016-07-12 08:57:47 +02:00
Sam
96266d42c6 add note about peristent data 2016-06-06 09:30:30 +02:00
Sam
5533d5a58a Merge branch 'master' of github.com:invoiceninja/dockerfiles 2016-05-24 14:57:26 +02:00
Sam
c1ffc73205 version 2.5.2.2 2016-05-24 14:57:06 +02:00
Samuel Laulhau
951fc81b3e no debug by default
fix #7
2016-05-22 23:58:18 +02:00
3 changed files with 29 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
# DOWNLOAD AND INSTALL INVOICE NINJA
#####
ENV INVOICENINJA_VERSION 2.5.2.1
ENV INVOICENINJA_VERSION 2.7
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/ \
@@ -45,7 +45,9 @@ ENV DB_HOST mysql
ENV DB_DATABASE ninja
ENV APP_KEY SomeRandomString
ENV LOG errorlog
ENV APP_DEBUG 1
ENV APP_DEBUG 0
ENV APP_CIPHER rijndael-128
ENV SELF_UPDATER_SOURCE ''
#use to be mounted into nginx for exemple

View File

@@ -27,3 +27,5 @@ web:
ports:
- 80
```
To make your data persistant, you have to mount `/var/www/app/public/logo` and `/var/www/app/storage`.

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
db:
image: mysql
environment:
MYSQL_DATABASE: ninja
MYSQL_ROOT_PASSWORD: mdp
app:
image: invoiceninja/invoiceninja
links:
- db:mysql
environment:
APP_DEBUG: 1
web:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
links:
- app
volumes_from:
- app
ports:
- 80