update readme

This commit is contained in:
Sam
2016-09-20 12:06:33 +02:00
parent 9e9f86b02f
commit f7d12106ec
2 changed files with 4 additions and 26 deletions

View File

@@ -2,30 +2,6 @@ DockerFile for invoice ninja (https://www.invoiceninja.com/)
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
```
The easiest way to try this image is by cloning this repos and run `docker-cumpose run`.
To make your data persistant, you have to mount `/var/www/app/public/logo` and `/var/www/app/storage`.