-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Guide
GiZano edited this page Jan 29, 2026
·
1 revision
This page explains how to deploy the Chat Server using containerization and how the automated pipeline handles updates.
The project is fully containerized to ensure portability and ease of use across different environments.
- Docker installed on the host machine.
- Docker Compose (optional but recommended for resource management).
-
Build the Image: The
Dockerfileuses apython:3.9-slimbase to minimize the footprint.docker build -t chat-server . - Resource Allocation: In our testing, we found that limiting the container to 512MB of RAM is sufficient for stable operations.
We implemented an automated workflow to streamline the transition from development to production.
-
Trigger: The pipeline activates on every push to the
mainbranch, specifically monitoring changes in theserver/directory orutils.py. - Registry: The automated script builds a fresh Docker image and publishes it to the GitHub Container Registry (GHCR).
- Ready for Enterprise: This makes the latest stable version of the server immediately available for pull on any enterprise-grade server.
Since this is an on-premise solution, ensure the following:
-
Port Forwarding: Port
65432must be open on the host machine for local network traffic. - Protocol: The server utilizes TCP to guarantee message delivery through ACK (acknowledgment) packets.