Git Product home page Git Product logo

Comments (8)

anojht avatar anojht commented on September 26, 2024 1

If you want to use invoiceninja locally then you can use http://192.168.5.141:3443/login to access it. Page will not load any theme assests (page will look weird) due to the nginx line below.

If you don't plan on setting up SSL and mapping invoice ninja to a domain then you need to edit your nginx config inside the docker, located at /etc/nginx/nginx.conf and remove the following line: fastcgi_param HTTPS 1; This will fix the page looking weird and not loading any theme files as described above.

By default this docker image is setup for secure settings such as SSL and mapping invoiceninja to a domain. That's why you had to do the steps I described above.

I suggest setting up the Letsencrypt container from linuxserver.io for your unraid and generating free SSL certs and mapping your invoiceninja to a domain. This is how I have done it so that its secure and I can use the features like customer portal, where clients can visit my invoice site and log in to view their invoices.

from dockerfiles.

anojht avatar anojht commented on September 26, 2024

Hey I tried running this docker on my unraid and ran into similar problems. What is not clear is this docker image has no web server (nginx, etc.) so you need to have a web server that can serve the files.

I made a ready to run docker image of invoiceninja and keep it up to date, it was a fork of this one: invoiceninja

Other option is docker compose but I found it inefficient that docker compose created 4 different images to run one app service. So I combined the cron, web server(nginx), and the app into one in my dockerfile linked above. Only thing you need is a DB.

Hope that helps 😄

from dockerfiles.

r3n00 avatar r3n00 commented on September 26, 2024

Really ? I tried your image and i'm receiving the following exception, "The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths".

Even though i specified AES-256-CBC. I even tried AES-128-CBC and received the same error.

from dockerfiles.

r3n00 avatar r3n00 commented on September 26, 2024

exception

from dockerfiles.

anojht avatar anojht commented on September 26, 2024

Your APP_KEY needs to be exactly 32 characters long and only comprised of alphanumeric characters. I have it working with AES-256-CBC.

Edit: Also you do not need to specify APP_CIPHER, it uses AES-256-CBC by default.

from dockerfiles.

r3n00 avatar r3n00 commented on September 26, 2024

I removed the APP_CIPHER variable and now im receiving the below error. I re downloaded the image and setup the docker again and still receiving the below error regardless of the port i use. My HTTP port is 8181 and HTTPS 3443 for this docker. I do not see any errors in the error log

ssl error

from dockerfiles.

anojht avatar anojht commented on September 26, 2024

@r3n00 can you close this issue if its been resolved? Any future problems you have with my docker image please open them on my repo.

from dockerfiles.

r3n00 avatar r3n00 commented on September 26, 2024

Ok thanks

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.