Deploy thingsboard and chirpstack in docker.
Clone git repo
git clone https://github.com/ivanmorenoj/chirpstack-thingsboard.git
cd thingsboard-docker
Init ThingsBoard and chirpstack with docker-compose
docker-compose up -d
See logs
docker-compose logs
Create volumes
Note: For persistent data inter containers, use one plugin or nfs
docker volume create postgres-data
docker volume create cd-redis-data
docker volume create tb-data
Create a secret for postgres root password
echo -n "Ingress postgres sql root password: "; read -s pass; echo $pass | docker secret create psql-passw -
Then deploy in the cluster
docker stack deploy -c swarm-deploy.yml tbcs
After executing this command you can open http://{yor-host-ip}:30011 in your browser.
You should see ThingsBoard login page. Use the following default credentials:
- Systen Administrator: [email protected] / sysadmin
- Tenant Administrator: [email protected] / tenant
- Customer User: [email protected] / customer
You can always change passwords for each account in account profile page.
Open ChirpStack http://{host-ip}:30010
- Admin: admin / admin
Use an external proxy like nginx to manage web traffic
See k8s directory