Fading Coder

One Final Commit for the Last Sprint

Configuring Nginx for WebSocket and HTTP Coexistence in Docker Environments

Initial Configuration Challenges A recent project required serving both HTTP and WebSocket traffic through a single nginx configuration file. The initial setup was as follows: upstream backend_service { server 10.6.14.200:8000 max_fails=0; } server { listen 80; gzip on; gzip_min_length 1k; gzip_comp...

Docker-Based SVN Server and WebSVN Configuration

Docker-Based SVN Server and WebSVN Configuration 1. Installation - Pull the Docker image docker pull gurcan/svn-server - Launch the container docker run -d --name svn-container --restart=always -v /var/lib/svn/repos:/home/svn -p 14890:80 -p 4890:3690 gurcan/svn-server - Create an administrator accou...

Cloud Server Environment Setup and Network Port Management

Containerization with Docker To manage applications efficiently, Docker is used as the primary runtime environment. Ensure system compatibility before proceeding with the installation. Installation via Package Manager Update the local package index and install the necessary dependencies to allow yum...

Mastering Dockerfile Directives and Image Configuration

Dockerfiles act as build recipes containing sequential instructions to assemble a container image. The Docker daemon processes these instructions from top to bottom. Every valid Dockerfile must begin by defining a base image. Comments within the file are denoted by the # symbol.FROMThe FROM instruct...

Exposing Docker Build Capabilities to LAN via 1Panel

Our server management team installed 1Panel (community edition v1.10.10-lts) and wants all small development projects deployed via Docker. As a Windows developer without a local Docker environment, the first step is configuring a shared Docker image build capability over the LAN. Docker's core funct...

Docker Single-Node Deployment of Nacos (with/without MySQL Support)

Using Server MySQL Version 1. Pull Nacos Image To fetch the Nacos Docker image (use the latest version by default, or specify a version like 2.0.3): docker pull nacos/nacos-server # Latest version # Optional: Specify version (e.g., 2.0.3) # docker pull nacos/nacos-server:2.0.3 2. Set Up MySQL (Skip...

Docker Installation and Mirror Configuration

Switching to Root User su Removing Previous Docker Versions If Docker is already installed on the system, first remove the existing version: yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine Configuri...

Docker Fundamentals: Installation, Image Management, and Container Operations

Docker packages applications along with their runtime dependencies into portbale, isolated units—enabling consistant execution across environments. Its architecture draws inspiration from physical containerization: each container opeartes independently, with strict process and filesystem boundaries...

Deploying Local Ollama-Chat Service via FRP Reverse Proxy

The core challenge is exposing a locally running large model service (openui-backend-go) to the public internet through a low-spec cloud server, enabling external access via a custom domain. Technical Architecture FRP (Fast Reverse Proxy) is used for reverse proxy tunneling. The setup involves a pub...

Docker Deployment and Management Fundamentals

Prerequisites and Installation Verify system requirements before procedeing. Docker Engine relies on specific kernel features (Linux 3.10+ for Centos 7). Environment Verification # Check kernel version uname -r # Confirm OS details cat /etc/os-release Setup Process Access the official documentation...