Files
templates/blueprints
lefolalan f3c1060443 feat: add ChirpStack LoRaWAN Network Server template (#486)
* feat: add ChirpStack LoRaWAN Network Server template

  Add complete ChirpStack v4 template with:
  - Main ChirpStack server with web UI
  - UDP and Basics Station gateway bridges
  - REST API interface
  - PostgreSQL database with PostGIS extensions
  - Redis cache
  - Mosquitto MQTT broker

Default configuration for EU868 region with secure random credentials. Supports all LoRaWAN frequency bands globally.

* fix(chirpstack): use original configurations from chirpstack-docker repo

Update template.toml to use exact configuration files from the
chirpstack-docker repository instead of simplified versions:

- Use original chirpstack.toml with all 15 enabled regions
- Use original gateway bridge configuration with documentation links
- Use complete Basics Station EU868 config with frequency plans
- Keep original Mosquitto and PostgreSQL initialization scripts

Template size increased from 131 to 219 lines (4.7KB) to include
comprehensive default configurations that match the official setup.

* feat: add all 38 region configuration files

* fix(chirpstack): add volume mounts to expose config files to containers

* fix(chirpstack): remove read-only flag

* fix(chirpstack): correct file paths for configuration mounts in docker-compose and template files

* fix: update volume paths to be on correct directory level

* fix: configure template for dokploy-network with proper DNS resolution

- Add dokploy-network configuration to docker-compose.yml
- Replace environment variable placeholders with actual service hostnames
- Change PostgreSQL DSN from $POSTGRESQL_HOST to postgres
- Change Redis server from $REDIS_HOST to redis
- Replace $MQTT_BROKER_HOST with mosquitto in all 39 region configurations

These changes ensure Docker DNS resolution works correctly by:
- Using dokploy-network (overlay) instead of bridge network
- Using service names directly in TOML config files (TOML doesn't expand env vars)
- Enabling proper service discovery between containers

This resolves DNS resolution failures that caused ChirpStack to fail connecting
to PostgreSQL and MQTT services during deployment.

* fix: add missing network configurations for all services in docker-compose

* feat: add internal services to config.domains for proper network configuration

* Update docker-compose.yml

* fix: enhance domain validation in template validator

- Updated the TemplateValidator to ensure that if the 'host' field is provided, it must be a valid string.
- Added comments to clarify that 'host' is optional for internal services.

* refactor: remove redundant host validation in template validator

- Removed the validation for the 'host' field in the TemplateValidator, as it is optional for internal services and does not require a type check if not provided.

* refactor: remove internal service domain configurations from template

- Eliminated the domain configurations for internal services (Postgres, Redis, Mosquitto) from the template.toml file, streamlining the configuration for better clarity and maintainability.

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
Co-authored-by: Mauricio Siu <siumauricio@icloud.com>
2025-12-14 00:13:13 -06:00
..
2025-11-28 02:07:05 -06:00
2025-08-07 00:48:53 -06:00
2025-07-27 22:46:50 -06:00
2025-09-05 02:45:59 -06:00
2025-07-06 21:14:02 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-07-11 23:59:35 -06:00
2025-09-01 23:13:21 -06:00
2025-08-28 00:22:23 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-08-22 22:57:30 -06:00
2025-08-28 00:22:23 -06:00
2025-11-08 00:03:45 -06:00
2025-07-27 22:40:54 -06:00
2025-04-02 03:43:38 -07:00
2025-05-10 03:39:50 -06:00
2025-05-24 17:42:20 -06:00
2025-07-11 23:42:54 -06:00
2025-07-27 22:40:54 -06:00
2025-04-20 22:02:04 -06:00
2025-10-25 17:33:05 -06:00
2025-09-20 23:16:22 -06:00
2025-07-27 22:40:54 -06:00
2025-04-08 23:28:32 -06:00
2025-10-04 22:06:58 -06:00
2025-07-20 21:47:13 -06:00
2025-07-27 22:40:54 -06:00
2025-10-25 19:09:21 -06:00
2025-08-28 00:22:23 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-08-28 00:23:15 -06:00
2025-07-27 22:40:54 -06:00
2025-08-02 00:09:52 -06:00
2025-07-27 22:40:54 -06:00
2025-07-27 22:40:54 -06:00
2025-12-03 10:01:30 -06:00
2025-07-27 22:44:28 -06:00
2025-12-14 00:01:17 -06:00
2025-08-28 00:22:23 -06:00
2025-05-07 01:15:02 -06:00
2025-08-28 00:22:23 -06:00
2025-07-27 22:40:54 -06:00
2025-11-07 23:43:09 -06:00
2025-09-13 22:25:49 -06:00
2025-08-11 00:00:44 -06:00
2025-04-26 19:10:34 -06:00
2025-04-01 23:37:48 -06:00
2025-12-07 03:46:38 -06:00
2025-08-01 01:35:37 -06:00
2025-07-27 22:40:54 -06:00
2025-04-26 19:10:34 -06:00
2025-07-27 22:40:54 -06:00
2025-04-17 14:44:04 -06:00
2025-06-19 22:25:12 -06:00
2025-08-28 00:22:23 -06:00
2025-08-28 00:22:23 -06:00
2025-07-27 22:40:54 -06:00
2025-08-02 00:11:49 -06:00
2025-08-28 00:22:23 -06:00
2025-07-27 22:40:54 -06:00
2025-06-19 22:36:29 -06:00
2025-07-06 22:34:00 -06:00