Closed bcdaus closed 1 day ago
INVENTREE_SERVER will need to be the name of the docker container with the server - only change if you changed the docker container name
Set INVENTREE_SERVER=https://192.168.1.170/
The INVENTREE_SERVER
is the internal address to the docker container which is running the actual InvenTree code. It is not exposed to the outside world. This should not be changed from the default value. Is there a reason you are changing this?
I had misread the Caddy config and though this had to be changed to suit my install. I am going to re-create the docker configs and try again. Thanks for your help bill
Deployment Method
Steps to Reproduce
Describe the problem*
I have been running Inventree in Docker since v13.8 (Currently at 16.7) but after some recent login looping which was not resolved with the INVENTREE_COOKIE_SAMESITE=FALSE entry I decided it was probably time to create a new Docker instance now things like Caddy are involved. I have a postgresql server with all my data on another box so though it would be a quick fix. When I follow the guide and bring up the new instance, on hitting the Inventree IP I get a webpage telling me that Caddy is running as the web server but that is all.
I am running the Stable Docker instance and pulled down the .env, docker_compose.yaml and Caddy config from the 'Stable Docs' part of the Inventree Doc web site.
Any clues on where to look? Running on Ubuntu 20.04.06
Steps to Reproduce
Folow guide at : https://docs.inventree.org/en/stable/start/docker_install/#docker-installation Modify .env file to point to Postgresql server and setup admin user as per previous install. set INVENTREE_WEB_PORT=80 Set INVENTREE_SITE_URL=https://Machine FQDN (can be resolved on local network) Set INVENTREE_SERVER=https://192.168.1.170 run Docker Compose up -d - everything comes up cleanly Hit IP or FQDN address - Caddy Webserver is working page. Hit IP or FQDN :443 and get a connection refused message.
Relevant log output