Skip to content

Add environment hooks for custom AS/router#15

Open
egourlao wants to merge 1 commit into
kersing:masterfrom
egourlao:master
Open

Add environment hooks for custom AS/router#15
egourlao wants to merge 1 commit into
kersing:masterfrom
egourlao:master

Conversation

@egourlao

@egourlao egourlao commented Aug 2, 2018

Copy link
Copy Markdown

This pull requests adds environment hooks to support the use of custom Account Servers or Router URIs.

With these edits, the script can be used this way:

export ACCOUNT_SERVER_DOMAIN=canary.account.thethings.network
export ROUTER_MQTT_ADDRESS=canary.router.thethings.network:1882
curl https://some.domain.org/installer.sh | bash
# This setup will use the pre-configured AS and router configuration

@egourlao

Copy link
Copy Markdown
Author

@kersing Any news about this pull request? :)

@kersing

kersing commented Aug 28, 2018

Copy link
Copy Markdown
Owner

I am looking at another solution to achieve the same result. The installer is interactive so prompting for the information is more in-line with the existing code.

@Eelviny

Eelviny commented Jan 22, 2019

Copy link
Copy Markdown

I'm going to vouch for @egourlao's method - something like this is a specialised setup, as 95% of people are just running something on TTN, and don't need to be presented with this option. I can handle setting environment variables for private instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants