Last active
May 2, 2025 20:07
-
-
Save metrafonic/a3dad2ac47ebf69fc34d94edb0eea04f to your computer and use it in GitHub Desktop.
# MNTD Hotspot to Chirpstack + Helium + TTN hotspot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [logging] | |
| level = "info" | |
| [multiplexer] | |
| bind = "0.0.0.0:1702" | |
| [[multiplexer.server]] | |
| server="eu1.cloud.thethings.network:1700" | |
| [[multiplexer.server]] | |
| server="127.0.0.1:1680" | |
| [[multiplexer.server]] | |
| server="127.0.0.1:1700" | |
| [monitoring] | |
| bind = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| udp-packet-forwarder: | |
| image: rakwireless/udp-packet-forwarder:latest | |
| container_name: udp-packet-forwarder | |
| restart: unless-stopped | |
| privileged: true | |
| network_mode: host | |
| environment: | |
| MODEL: 'AUTO' | |
| BAND: 'eu_863_870' | |
| DEVICE: '/dev/spidev0.0' | |
| USE_LIBGPIOD: 1 | |
| RESET_GPIO: 25 | |
| SERVER_HOST: '127.0.0.1' | |
| SERVER_PORT: 1702 | |
| depends_on: | |
| - chirpstack-packet-multiplexer | |
| chirpstack-packet-multiplexer: | |
| image: chirpstack/chirpstack-packet-multiplexer:4.0.0-test.2 | |
| command: -c /etc/chirpstack-packet-multiplexer/chirpstack-packet-multiplexer.toml | |
| volumes: | |
| - ./multiplexer-config:/etc/chirpstack-packet-multiplexer | |
| network_mode: host | |
| depends_on: | |
| - gateway-rs | |
| - chirpstack-gateway-bridge | |
| gateway-rs: | |
| build: ./gateway-rs | |
| devices: | |
| - /dev/i2c-1 | |
| expose: | |
| - "1680:1680/udp" | |
| environment: | |
| - GATEWAY_SETTINGS=/app/settings.toml | |
| network_mode: host | |
| chirpstack: | |
| image: chirpstack/chirpstack:4 | |
| command: -c /etc/chirpstack | |
| restart: unless-stopped | |
| volumes: | |
| - ./configuration/chirpstack:/etc/chirpstack | |
| depends_on: | |
| - postgres | |
| - mosquitto | |
| - redis | |
| environment: | |
| - MQTT_BROKER_HOST=mosquitto | |
| - REDIS_HOST=redis | |
| - POSTGRESQL_HOST=postgres | |
| ports: | |
| - "8080:8080" | |
| chirpstack-gateway-bridge: | |
| image: chirpstack/chirpstack-gateway-bridge:4 | |
| restart: unless-stopped | |
| ports: | |
| - "1700:1700/udp" | |
| volumes: | |
| - ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge | |
| environment: | |
| - INTEGRATION__MQTT__EVENT_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }} | |
| - INTEGRATION__MQTT__STATE_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }} | |
| - INTEGRATION__MQTT__COMMAND_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/command/# | |
| depends_on: | |
| - mosquitto | |
| chirpstack-gateway-bridge-basicstation: | |
| image: chirpstack/chirpstack-gateway-bridge:4 | |
| restart: unless-stopped | |
| command: -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge-basicstation-eu868.toml | |
| ports: | |
| - "3001:3001" | |
| volumes: | |
| - ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge | |
| depends_on: | |
| - mosquitto | |
| chirpstack-rest-api: | |
| image: chirpstack/chirpstack-rest-api:4 | |
| restart: unless-stopped | |
| command: --server chirpstack:8080 --bind 0.0.0.0:8090 --insecure | |
| ports: | |
| - "8090:8090" | |
| depends_on: | |
| - chirpstack | |
| postgres: | |
| image: postgres:14-alpine | |
| restart: unless-stopped | |
| volumes: | |
| - ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d | |
| - postgresqldata:/var/lib/postgresql/data | |
| environment: | |
| - POSTGRES_USER=chirpstack | |
| - POSTGRES_PASSWORD=chirpstack | |
| - POSTGRES_DB=chirpstack | |
| redis: | |
| image: redis:7-alpine | |
| restart: unless-stopped | |
| command: redis-server --save 300 1 --save 60 100 --appendonly no | |
| volumes: | |
| - redisdata:/data | |
| mosquitto: | |
| image: eclipse-mosquitto:2 | |
| restart: unless-stopped | |
| ports: | |
| - "1883:1883" | |
| volumes: | |
| - ./configuration/mosquitto/config/:/mosquitto/config/ | |
| volumes: | |
| postgresqldata: | |
| redisdata: |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reuse a MNTD Blackspot or Goldspot miner to run Chirpstack parallel with Helium and The things network.
Helium-rs repo in use: https://github.com/metrafonic/helium-gw/tree/patch-1