From 6d227da89c0f8482df85e94067b90dda2183444b Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 22 Mar 2016 23:40:55 +0200 Subject: [PATCH] update readme --- README.md | 28 +++++++++++++++++++++++++++- docker-compose.yml | 21 --------------------- 2 files changed, 27 insertions(+), 22 deletions(-) delete mode 100644 docker-compose.yml diff --git a/README.md b/README.md index a4f7c46..95a08a2 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index c4ef293..0000000 --- a/docker-compose.yml +++ /dev/null @@ -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