First of all, thanks for preparing all of this. This has helped me to deploy LibreChat much quicker. However, I'm struggling to change the image to one from an internal registry. Do you have an idea why this is the case? I managed to set everything up:
- Push to our container registry
- The web app deployment pulls from that registry
Now, during startup, we get the error logs:
2023-08-21T11:06:10.961Z INFO - docker run -d --expose=80 --name librechatapp859rfpgz_1_ce5fcae7 -e PORT=80 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITES_PORT=80 -e WEBSITE_SITE_NAME=librechatapp859rfpgz -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=librechatapp859rfpgz.azurewebsites.net -e WEBSITE_INSTANCE_ID=1944b9e704a67460698ada12dadb81e86917d687076fd3f004bf1d7a730f9805 -e HTTP_LOGGING_ENABLED=1 -e WEBSITE_USE_DIAGNOSTIC_SERVER=False nodeenergy.azurecr.io/librechat:node.energy
2023-08-21T11:06:13.962Z INFO - Initiating warmup request to container librechatapp859rfpgz_1_ce5fcae7_msiProxy for site librechatapp859rfpgz
2023-08-21T11:06:14.055Z INFO - Container librechatapp859rfpgz_1_ce5fcae7_msiProxy for site librechatapp859rfpgz initialized successfully and is ready to serve requests.
2023-08-21T11:06:14.056Z INFO - Initiating warmup request to container librechatapp859rfpgz_1_ce5fcae7 for site librechatapp859rfpgz
2023-08-21T11:06:14.068Z ERROR - Container librechatapp859rfpgz_1_ce5fcae7 for site librechatapp859rfpgz has exited, failing site start
2023-08-21T11:06:14.077Z ERROR - Container librechatapp859rfpgz_1_ce5fcae7 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
I have already tried to change the setting WEBSITES_PORT to 3080 but no success so far.
The command I'm using to build the image is:
docker build --tag $IMAGE_NAME --file Dockerfile.multi --target api-build .
(inspired from line 37 here: https://github.com/danny-avila/LibreChat/blob/main/.github/workflows/dev-images.yml )
First of all, thanks for preparing all of this. This has helped me to deploy LibreChat much quicker. However, I'm struggling to change the image to one from an internal registry. Do you have an idea why this is the case? I managed to set everything up:
Now, during startup, we get the error logs:
I have already tried to change the setting
WEBSITES_PORTto 3080 but no success so far.The command I'm using to build the image is:
(inspired from line 37 here: https://github.com/danny-avila/LibreChat/blob/main/.github/workflows/dev-images.yml )