Update INSTALL.md
This commit is contained in:
parent
3abb247c36
commit
683e033c85
15
INSTALL.md
15
INSTALL.md
|
@ -65,7 +65,8 @@ The domains can be setup through the Daplie Desktop App or with daplie-tools
|
|||
Replace `foodevice` with whatever you like to call this device
|
||||
|
||||
```bash
|
||||
my_device=$(hostname) # i.e. foodevice
|
||||
# i.e. foodevice
|
||||
my_device=$(hostname)
|
||||
|
||||
# curl https://api.oauth3.org/api/tunnel@oauth3.org/checkip
|
||||
my_address=127.0.0.1
|
||||
|
@ -74,11 +75,13 @@ my_address=127.0.0.1
|
|||
daplie devices:attach -d $my_device -n $my_domain -a $my_address
|
||||
|
||||
# attach all other domains with same device/address
|
||||
daplie devices:attach -d foodevice -n www.example.com
|
||||
daplie devices:attach -d foodevice -n api.example.com
|
||||
daplie devices:attach -d foodevice -n assets.example.com
|
||||
daplie devices:attach -d foodevice -n cloud.example.com
|
||||
daplie devices:attach -d foodevice -n api.cloud.example.com
|
||||
daplie devices:attach -d $my_device -n provider.$my_domain
|
||||
daplie devices:attach -d $my_device -n api.provider.$my_domain
|
||||
daplie devices:attach -d $my_device -n www.$my_domain
|
||||
daplie devices:attach -d $my_device -n api.$my_domain
|
||||
daplie devices:attach -d $my_device -n assets.$my_domain
|
||||
daplie devices:attach -d $my_device -n cloud.$my_domain
|
||||
daplie devices:attach -d $my_device -n api.cloud.$my_domain
|
||||
```
|
||||
|
||||
Initialization
|
||||
|
|
Loading…
Reference in New Issue