To run this project in production mode, follow these steps carefully:
Move the Docker Compose file to your server in a directory like /app:
scp docker-compose.yml user@your-server:/app/Ensure the following files are inside /app:
docker-compose.ymlrabbitmq.conf.envfiles
Move .env.example from the root of the Iot-xray-Data-Manager repo and rename it as .env in /app:
mv /path/to/Iot-xray-Data-Manager/.env.example /app/.envMove .env.example from the process directory and rename it as .env:
mv /path/to/Iot-xray-Data-Manager/process/.env.example /app/.envMove .env.example from the agent directory and rename it as .env:
mv /path/to/Iot-xray-Data-Manager/agent/.env.example /app/.envEdit the .env files to set the desired values.
AGENT_ID=test1
RABBITMQ_URL=amqp://myuser:mypass@rabbitmq:5672
RABBITMQ_QUEUE=test01
RABBITMQ_QUEUE_DURABLE=0MONGO_URI=mongodb://mongo:27017/Iot-xray-Data-Manager
RABBITMQ_QUEUE_DURABLE=0
RABBITMQ_URL=amqp://myuser:mypass@rabbitmq:5672
RABBITMQ_QUEUE=test01
PORT=3000 Start all services using Docker Compose:
docker compose up -drabbitmq credential :
user : myuser
pass : mypassNow your services are running! 🎉 🚀