diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1269488..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -data diff --git a/README.md b/README.md index b812869..211ea45 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ 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 by cloning this repos and run `docker-compose run`. +The easiest way to test Invoice Ninja with docker is by copying the exemple directory and run `docker-compe up`. +The first launch could be slow because we create all tables and seed the database, but once youe see `NOTICE: ready to handle connections` all is ready. To make your data persistant, you have to mount `/var/www/app/public/logo` and `/var/www/app/storage`. diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 57c2f1d..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,39 +0,0 @@ -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 - -cron: - image: invoiceninja/invoiceninja - links: - - db:mysql - user: www-data - entrypoint: | - bash -c 'bash -s <