Cloud configuration
Step 1: Stop server if server is currently running.
CODE
user@user:~/VXG-Server$ ./stop.sh
Step 2: Modify the contents of the config.txt file by updating the api_uri and cm_uri to the corresponding URIs that belong to your cloud deployment.
CODE
[CloudURL]
api_uri=https://web.<INSERT CLOUD URL>/
cm_uri=wss://cam.<INSERT CLOUD URL>:8883/
Step 3: Modify the contents of docker_compose.yml by adding your cloud deployment’s backchannel URL to the environment variables.
CODE
version: "3.3"
services:
main:
image: vxg_server:${SERVER_VERSION:-latest}
restart: unless-stopped
privileged: true
depends_on:
- storage
- db
environment:
BACK_CHANNEL_SRV: "backchannel.<INSERT CLOUD URL>"
Step 4: Start server.
CODE
user@user:~/VXG-Server$ ./start.sh