To update the IP address for your on-premise Pickcel deployment, you need to modify two files and then restart the server. Follow the steps below:
.env FileLog in to your server terminal.
Open the .env file using the nano editor(or vi whichever you are using): In this example: nano .env
Locate the following lines and replace the existing IP address with the new one:
> SERVER_NAME= your.new.ip.address
> PICKCEL_SERVER_HOST=http://<your.new.ip.address>
After making the changes, save the file: Press Ctrl + X. Then press Shift + S to save and exit
Open the NGINX config file: nano nginx/nginx.conf
Scroll to the bottom of the file and update the IP address where it's mentioned.
Save and exit by pressing: Ctrl + X, then Shift + S
Run the following commands to restart your Pickcel server with the new configuration:
> sudo docker compose down
> sudo docker compose up -d --build
After the restart, your Pickcel server will be accessible using the new IP address.
Should you encounter difficulties, please contact support at contact@pickcel.com for assistance.