Operations 5 min read

How to Deploy the Nightingale Ops Platform with Docker: Step‑by‑Step Guide

This tutorial walks you through installing Didi's open‑source Nightingale operations platform using Docker, covering code retrieval, Docker‑Compose setup, node configuration, systemd service creation, and accessing the web UI to manage resources, jobs, and monitoring dashboards.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
How to Deploy the Nightingale Ops Platform with Docker: Step‑by‑Step Guide

Official Address

https://github.com/didi/nightingale

The Nightingale operations platform is an open‑source solution from Didi that incorporates the company's best practices. It consists of four subsystems: 用户资源中心(RDB), 资产管理系统(AMS), 任务执行中心(JOB), and 监控告警系统(MON).

Step 1: Pull Code

You can clone the repository from GitHub or download the latest tarball from http://116.85.64.82/. After pulling, the directory structure appears as shown in the screenshots.

Step 2: Configure Startup

Download Docker‑Compose:

curl -L https://github.com/docker/compose/releases/download/1.25.0-rc4/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Use Docker‑Compose to build and start the containers:

cd /home/yeying-master/nightingale-master/dockerfiles
docker-compose up   # start

After startup, docker ps shows four containers. Ensure the required ports are free; otherwise the services will not start.

Step 3: Configure Node

Download and extract the node package:

wget http://116.85.64.82/n9e.tar.gz
tar -xf n9e.tar.gz

Copy the control binaries and configuration files to /home/n9e/ and edit address.yml to replace the default IP 192.168.106.132 with the master node’s IP. :%s/192\.168\.106\.132/ip/g Create a systemd service for the agent:

vim /usr/lib/systemd/system/agent.service
[Unit]
Description=n9e agent
After=network-online.target
Wants=network-online.target

[Service]
User=root
Group=root
Type=simple
Environment="GIN_MODE=release"
ExecStart=/home/n9e/n9e-agent
WorkingDirectory=/home/n9e
Restart=always
RestartSec=1
StartLimitInterval=0

[Install]
WantedBy=multi-user.target

Enable and start the service:

systemctl restart agent
systemctl enable agent
systemctl status agent

Access the Web UI

Open the web interface to view the newly added node’s host information, execute batch tasks in the Job Execution Center, add servers in the User Center, and monitor server metrics on the dashboard.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

OperationsDeploymentopen-source
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.