But I can’t find a definitive answer to the question - is there anything else to configure (cron, emails etc.) when running IN in docker?
My .env file has the
If you are using the docker-compose file that we host on our /dockerfiles repo, there is nothing else required to be done.
When you say your app is not “fast” what do you mean exactly? Does the UI block between clicks? If you switch to the React interface, does performance improve?
@david thank you for reply.
I’m using this repo Docker as the image source.
If you are using the docker-compose file that we host on our /dockerfiles repo, there is nothing else required to be done.
Got it. Thank you for clarification.
About the UI being not fast - I actually have nothing to compare to other then similar apps built with Laravel from my previous user experience. UI doesn’t block and performance doesn’t improve when switching to React. So I guess my statement is not valid, since there is no objective metric in it. Please disregard.
So I did a fresh install, not git clone, it seems like git clone way is not accounting for a possibility of other containers alongside with it’s generic “app” names and such.
# IN application vars
APP_URL="REDUCTED - public url"
APP_KEY="REDUCTED"
APP_DEBUG=true
EXPANDED_LOGGING=true
REQUIRE_HTTPS=false
PHANTOMJS_PDF_GENERATION=false
PDF_GENERATOR=snappdf
TRUSTED_PROXIES='*'
QUEUE_CONNECTION=database
# DB connection
DB_TYPE=mysql
DB_STRICT=false
DB_HOST=MySQL_DB
DB_DATABASE="REDUCTED"
DB_USERNAME="REDUCTED"
DB_PASSWORD="REDUCTED"
# Create initial user
# Default to these values if empty
# [email protected]
# IN_PASSWORD=changeme!
IN_USER_EMAIL="REDUCTED"
IN_PASSWORD="REDUCTED"
# Mail options
MAIL_MAILER=smtp
MAIL_HOST=smtp-relay.gmail.com
MAIL_PORT=587
MAIL_USERNAME="REDUCTED"
MAIL_PASSWORD="REDUCTED"
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="REDUCTED"
MAIL_FROM_NAME="REDUCTED"
# MySQL - ommiting, DB already configured above. No mention of these variables in https://invoiceninja.github.io/en/env-variables/
#MYSQL_ROOT_PASSWORD=ninjaAdm1nPassword
#MYSQL_USER=ninja
#MYSQL_PASSWORD=ninja
#MYSQL_DATABASE=ninja
First thing I get after logging in with user from env files - cron needs to be enabled.