May 19, 201610 yr Hey there! Since three weeks i´m a happy owner of a server. Also i´m a happy user of unraid. Even i´m the biggest noob on earth concerning linux it was easy to set up and i was able to install everything i need and get the things running very well! I hope, that i dont come across with a topic which was already solved here and i also hope, that you can help me with my problem. I want invoiceninja (https://www.invoiceninja.com/self-host/) on my Server, and because i like docker and docker images, i want to run invoice ninja inside a docker container. There are some files and repositorys available: Official GitHub: https://github.com/invoiceninja/dockerfiles Official (?) DockerHub: https://hub.docker.com/r/invoiceninja/invoiceninja/ Not Official (?) DockerHub: https://hub.docker.com/r/webhippie/invoiceninja/ I spend hours on websites, tutorials and the documentation of Docker itself, but i´m not able to get invoiceninja running. Maybe it is not that complicated like its look to me because i´m not used to the console. I have some knowledge on databases and programming websites; also some really really basic "skills" (if you could call them so) with the console under OSX. Is someone out there, who can help me? If you need more information, let me know. Every help is really appreciated! Thanks, Marvin
May 19, 201610 yr To try one of those already built turn on docker hub searches within CA and get it to add it for you Sent from my LG-D852 using Tapatalk
May 19, 201610 yr Author Hey Squid, ty for the fast reply! I hope i got you right: Where can i turn on the docker hub searches within the community applications? Am i blind? €: Because i am able to read, i took a look inside the manual. i found the description. I will give it a try and come back if i run into trouble
May 19, 201610 yr Just double check the required ports, volumes, etc with regards to the resulting template that appears
May 19, 201610 yr Author Thank you Squid - i found it. The manual is great - i just had to use it... sorry! I figured out to add them. Maybe do you have an idea what this lines of code want to tell me? Warning: require(/srv/www/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /srv/www/bootstrap/autoload.php on line 20 Fatal error: require(): Failed opening required '/srv/www/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear') in /srv/www/bootstrap/autoload.php on line 20 Thanks in advance! Cheers, Marvin
May 19, 201610 yr Author Maybe i have to add one of these: ENV INVOICENINJA_APP_ENV production ENV INVOICENINJA_APP_DEBUG false ENV INVOICENINJA_APP_URL http://localhost ENV INVOICENINJA_APP_CIPHER rijndael-128 ENV INVOICENINJA_APP_KEY # gets generated if not provided ENV INVOICENINJA_DB_TYPE mysql # can also be sqlite or pgsql ENV INVOICENINJA_DB_HOST mysql # postgres for pgsql ENV INVOICENINJA_DB_DATABASE ninja # /storage/database.sqlite3 for sqlite ENV INVOICENINJA_DB_USERNAME root ENV INVOICENINJA_DB_PASSWORD root ENV INVOICENINJA_DB_PREFIX ENV INVOICENINJA_DB_CHARSET utf8 ENV INVOICENINJA_DB_STRICT false # used by mysql ENV INVOICENINJA_DB_COLLATION utf8_unicode_ci # used by mysql ENV INVOICENINJA_DB_SCHEMA public # used by pgsql ENV INVOICENINJA_MAIL_DRIVER smtp ENV INVOICENINJA_MAIL_PORT 587 ENV INVOICENINJA_MAIL_ENCRYPTION tls ENV INVOICENINJA_MAIL_HOST ENV INVOICENINJA_MAIL_USERNAME ENV INVOICENINJA_MAIL_ADDRESS invoiceninja@localhost ENV INVOICENINJA_MAIL_NAME Invoiceninja ENV INVOICENINJA_MAIL_PASSWORD ENV INVOICENINJA_PHANTOMJS_CLOUD_KEY ENV INVOICENINJA_LOG single ENV INVOICENINJA_REQUIRE_HTTPS false ENV INVOICENINJA_GITHUB_CLIENT_ID ENV INVOICENINJA_GITHUB_CLIENT_SECRET ENV INVOICENINJA_GOOGLE_CLIENT_ID ENV INVOICENINJA_GOOGLE_CLIENT_SECRET ENV INVOICENINJA_FACEBOOK_CLIENT_ID ENV INVOICENINJA_FACEBOOK_CLIENT_SECRET ENV INVOICENINJA_LINKEDIN_CLIENT_ID ENV INVOICENINJA_LINKEDIN_CLIENT_SECRET ENV PHP_MEMORY_LIMIT 512M ENV PHP_POST_MAX_SIZE 2G ENV PHP_UPLOAD_MAX_FILESIZE 2G ENV PHP_MAX_EXECUTION_TIME 3600 ENV PHP_MAX_INPUT_TIME 3600 ENV PHP_DATE_TIMEZONE UTC ENV LOGSTASH_ENABLED false ENV LOGSTASH_HOST logstash ENV LOGSTASH_PORT 5043 ENV LOGSTASH_CA /etc/ssl/logstash/certs/ca.pem # As string or filename ENV LOGSTASH_CERT /etc/ssl/logstash/certs/cert.pem # As string or filename ENV LOGSTASH_KEY /etc/ssl/logstash/private/cert.pem # As string or filename ENV LOGSTASH_TIMEOUT 15 ENV LOGSTASH_OPTS
May 19, 201610 yr Thank you Squid - i found it. The manual is great - i just had to use it... sorry! I figured out to add them. Maybe do you have an idea what this lines of code want to tell me? Warning: require(/srv/www/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /srv/www/bootstrap/autoload.php on line 20 Fatal error: require(): Failed opening required '/srv/www/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear') in /srv/www/bootstrap/autoload.php on line 20 Thanks in advance! Cheers, Marvin Looks like you need to map a /srv volume. dockerHub searches and adds aren't an exact science. You've really got to still look at the instructions / dockerfile and make sure that all the required info is in the resulting template. Hence why its an optional feature of CA EDIT: its impossible for CA to determine any required environment variables, and they always have to be added manually.
May 19, 201610 yr Author Hence why its an optional feature of CA I can imagine why ... I will give it a try later. Thank you very much!
Archived
This topic is now archived and is closed to further replies.