Skip to main content

ChirpStack Deployment via Docker

note

We recommend deploying ChirpStack using Docker for a simpler and more reliable setup. If you prefer not to use Docker, please refer to the official documentation.

Step 1 Install Docker

Updates the package list (required before installation).

sudo apt update

Installs Docker and required dependencies -y auto-confirms installation.

sudo apt install -y ca-certificates curl gnupg lsb-release docker

Step 2 Enable Docker for Current User

Adds the current user to the Docker group, allowing Docker commands to be run without sudo.

sudo usermod -aG docker $USER
warning

Log out and log back in or reboot to apply changes.

Step 3 Install Git and Clone Project

Installs Git

sudo apt install -y git

Downloads the ChirpStack Docker project

git clone https://github.com/Bei-Ji-Quan/chirpstack-docker.git

Enters the project directory

cd chirpstack-docker

Step 4 Starts all ChirpStack Services

Start the ChirpStack services

docker compose up -d

Before running ./run_chirpstack_server us915_1, it is recommended to execute the following command to stop and clean up any existing containers:

docker compose down

automatically deploys Docker containers; the parameter us915_1 specifies the LoRaWAN frequency band and must match your deployment region. The table below lists the mapping between regions and frequency bands—simply change the parameter to the desired band and run the command accordingly.

./run_chirpstack_server us915_1
tip

For example, if you need to switch from the US915 band to the EU868 band, you can replace ./run_chirpstack_server us915_1 with ./run_chirpstack_server eu868.

LoRaWAN Frequency Band Table

Region / BandUplink Frequency Range (MHz)Uplink Frequency (BW125K / SF7–12)Uplink Frequency (BW250K)Uplink Frequency (BW500K)
as923923.2–924.6923.2–924.6
as923_2921.4–922.8921.4–922.8
as923_3916.6–918.0916.6–918.0
as923_4917.3–918.7917.3–918.7
au915_0915.2–916.6915.2–916.6915.9 (SF8)
au915_1916.8–918.2916.8–918.2917.5 (SF8)
au915_2918.4–919.8918.4–919.8919.1 (SF8)
au915_3920.0–921.4920.0–921.4920.7 (SF8)
au915_4921.6–923.0921.6–923.0922.3 (SF8)
au915_5923.2–924.6923.2–924.6923.9 (SF8)
au915_6924.8–926.2924.8–926.2925.5 (SF8)
au915_7926.4–927.8926.4–927.8927.1 (SF8)
cn470_0470.3–471.7470.3–471.7
cn470_1471.9–473.3471.9–473.3
cn470_2473.5–474.9473.5–474.9
cn470_3475.1–476.5475.1–476.5
cn470_4476.7–478.1476.7–478.1
cn470_5478.3–479.7478.3–479.7
cn470_6479.9–481.3479.9–481.3
cn470_7481.5–482.9481.5–482.9
cn470_8483.1–484.5483.1–484.5
cn470_9484.7–486.1484.7–486.1
cn470_10486.3–487.7486.3–487.7
cn470_11487.9–489.3487.9–489.3
eu433433.175–433.575433.175–433.575
eu868867.1–868.5867.1–868.5868.3 (SF7)
in865865.0625 / 865.4025 / 865.985865.0625 / 865.4025 / 865.985
kr920922.1–922.5922.1–922.5
ru864868.9–869.1868.9–869.1
us915_0902.3–903.7902.3–903.7903.0 (SF8)
us915_1903.9–905.3903.9–905.3904.6 (SF8)
us915_2905.5–906.9905.5–906.9906.2 (SF8)
us915_3907.1–908.5907.1–908.5907.8 (SF8)
us915_4908.7–910.1908.7–910.1909.4 (SF8)
us915_5910.3–911.7910.3–911.7911.0 (SF8)
us915_6911.9–913.3911.9–913.3912.6 (SF8)
us915_7913.5–914.9913.5–914.9914.2 (SF8)

Once the services are running, access the ChirpStack web interface via

http://localhost:8080

The default username and password are both: admin

After completing the above steps, ChirpStack is successfully deployed.