Compare commits

...

3 Commits

Author SHA1 Message Date
Sam
0cd0c4a682 tag 2.5.1.2 2016-04-01 11:53:17 +03:00
Sam
157dbf5bfc add maintainer mail 2016-03-22 23:54:19 +02:00
Sam
6d227da89c update readme 2016-03-22 23:40:55 +02:00
3 changed files with 29 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
FROM php:fpm
MAINTAINER Samuel Laulhau
MAINTAINER Samuel Laulhau <sam@lalop.co>
#####
# SYSTEM REQUIREMENT
@@ -23,7 +23,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
# DOWNLOAD AND INSTALL INVOICE NINJA
#####
ENV INVOICENINJA_VERSION 2.5.1.1
ENV INVOICENINJA_VERSION 2.5.1.2
#ENV INVOICENINJA_SHA1 3e9b63c1681b6923dc1a24399411c1abde6ef5ea
RUN curl -o invoiceninja.tar.gz -SL https://github.com/hillelcoren/invoice-ninja/archive/v${INVOICENINJA_VERSION}.tar.gz \

View File

@@ -1,3 +1,29 @@
DockerFile for invoice ninja (https://www.invoiceninja.com/)
To test Invoice Ninja you can clone this repos and run `docker-compose up`.
This image is based on `php:7` official version.
The easiest way to try this image is via docker compose :
```
db:
image: mysql
environment:
MYSQL_DATABASE: ninja
MYSQL_ROOT_PASSWORD: mdp
app:
image: invoiceninja/invoiceninja
links:
- db:mysql
web:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
links:
- app
volumes_from:
- app
ports:
- 80
```

View File

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