How to install invoiceninja via docker compose?

@jenishngl

Okay I don’t have any experience with docker on windows, so this might not have anything to do with it.

  1. Is the volumes that are bind into your containers reference correctly?
  2. Have to been able permissions to do make the equivalate of “chmod 755 docker/app/public”
  3. Also set the owner to the equivalate of “sudo chown -R 1500:1500 docker/app”

Otherwise maybe use docker volumes to let UNIX based filesystem to the “storage” and “public” app persistent folders.

You write that your don’t what to git clone / pull but you need to do all other steps still and just make all files, folders and configs manual then (nicely documented in the README docker-compose section on dockerfiles repo.

Also have you made to app-key with docker run?

docker run --rm -it invoiceninja/invoiceninja php artisan key:generate --show

Save the docker-compose.yml in your dedicated InvoiceNinja folder together with the environment variable file env (and remember to modify with your docker run app-key and maybe secure creds). Now you also need to make some subdirs with config files first the NGINX config need to locate in config/nginx/in-host.conf and then the Host config config/hosts and the rest is not needed. Lastly you need to have the following subfolder docker/app/public and docker/app/storage in the same location as the compose and env file (this is also where invoiceninja/invoiceninja - 1500:1500 need to have ownership and permissions set).

Otherwise to come closer to the problem please post what the docker logs returns?