Commit Graph

77 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
a559319543
docker: update maintainer for lnd+ltcd docker files 2017-10-30 18:38:37 -07:00
mlerner
cc221b1548 Fix spelling in docker docs 2017-10-19 20:03:00 -07:00
Pat White
d0685730bd docker: don't specify datadir in lnd container
In this commit, we fix a lingering issue in the execution 
of the lnd container, after the new macaroon based 
authentication was added. With the new authentication 
feature, if the datadir was changed, but `lncli` wasn't 
updated to point to the macaroon path, then none of 
the commands would work. 

To fix this, we simply omit setting the data directory.
2017-09-19 05:42:48 +02:00
Johan T. Halseth
4bae23a9a7 docker: update readme
Changes the second docker-compose command to "run" instead of "up",
since this was failing for several people. Also removes the use of
the --num_conf flag to lncli openchannel, as this was removed in
0dfe733.
2017-09-14 13:53:05 +02:00
Olaoluwa Osuntokun
c1aed90e72
docker: update containers to expose new default port 2017-08-22 00:54:12 -07:00
Max Fang
96a5fdd3ec Remove characters from docker guide that break utf-8 encoding 2017-08-14 17:51:41 -07:00
Andrey Samokhvalov
e60a370d46 docker: create distinct containers for blockchains
Create disctinct containers for Litecoin and Bitcoin, and also change
the readme accordingly.
2017-07-05 10:41:31 -07:00
Andrey Samokhvalov
816b9ada44 docker: add "CHAIN" parameter
After addition of the Litecoin client image (ltcd), we should add
additional parameter to notify the start script which network we should
use.
2017-07-05 10:41:31 -07:00
Andrey Samokhvalov
25970bc113 docker: add ltcd image
Intoduce the Litecoin network daemon, which will be needed in order
to interact with Litecoin blockchain.
2017-07-05 10:41:31 -07:00
Andrey Samokhvalov
24ae098d18 docker: change BITCOIN_NETWORK -> NETWORK
This parameter now might not belong to the Bitcoin network, because we
introduce the Litecoin image soon.
2017-07-05 10:41:31 -07:00
Andrey Samokhvalov
1cd576e93a docker: switch to use glide installation
In order to make the installation process of the btcd robust we should
use "glide" instead of "go get".
2017-07-05 10:41:31 -07:00
afederigo
2a602b6d61 docker: update docker instructions to be aware of multi-chain config
This commit contains replacement of previous --rpccert flag on newest
--bitcoin.rpccert flag in docker lnd config.
2017-05-11 14:42:27 -07:00
Olaoluwa Osuntokun
d5af509435
docker: update docker instructions to be aware of multi-chain config 2017-05-02 20:49:46 -07:00
Faris Amali Alis
5e7655be54 docker: update instructions and Dockerfile for recent p2p port change
Error `connection refused` was thrown when user tries to get "Alice" to
connect to "Bob" node due to port mismatch introduced in this change [1]
here.

This commit updates the port value to reflect the new change introduced in
[1].

Reference: [1]
72772ce4df

Chanes in this commit:
  * Update references to old port value
  * Omit specifying port during lncli connect
  * Fix typo
2017-04-04 14:28:05 +02:00
Marty Jones
18052f9f19 multi: various formatting fixes after changes to Github flavored markdown 2017-03-27 16:20:31 -07:00
Andrey Samokhvalov
1efbaee4f5 docker: change container golang version; fix readme 2017-03-22 15:17:02 -07:00
Michiel de Jong
2841d8f503 docker: fix small typos in README.md 2017-02-28 19:33:59 -06:00
Cris Perez
b0d1247531 Add chmod +x to start scripts in dockerfiles 2017-01-29 18:02:26 -08:00
Andrey Samokhvalov
49df1b0737 docker: make 'lnd' dockerfile download project from github rather than mount it localy 2017-01-17 16:56:28 -08:00
Andrey Samokhvalov
0325b0c77a docker: add 'Connect to faucet lightning node' section in readme 2017-01-17 16:56:28 -08:00
Andrey Samokhvalov
0948bc3579 docker: add BITCOIN_NETWORK param 2017-01-17 16:56:28 -08:00
Andrey Samokhvalov
67b300fdc4 docker: make blockchain persistant 2017-01-17 16:56:28 -08:00
Andrey Samokhvalov
be66e039f1 docker: general improvements
* rename set_env->set_default
* fix bug with return from bash func
* make '--miningaddr' optional
2017-01-17 16:56:28 -08:00
Olaoluwa Osuntokun
a070d4131f
docker: add example output to commands in workflow 2017-01-12 17:13:18 -08:00
Andrey Samokhvalov
a421069dd8 docker: add send payment alice->bob workflow for newcomers 2017-01-12 16:43:55 -08:00
Olaoluwa Osuntokun
9a4a52ed89
docker: revamp docker set up to allow for an LN test cluster
This commit revamps the existing docker configuration to allow for
developer’s to easily bring up/down a Lightning Network testbed
environment.

Configuration related bugs within the prior swarm set up have been
fixed. The launched lnd nodes are now able to properly communicate with
the primary btcd node over RPC. The auto-generated RPC script has been
scrapped in favor of hard-coding a developer-only set of RPC
credentials. With this change, it’s now possible to add/remove
additional lnd nodes in order to test more complex scenarios.

Additionally, the containers now build off of the latest Go version
(1.7).
2016-08-29 15:18:04 -07:00
Olaoluwa Osuntokun
62fb3a9fee
docker: add single command docker build+run for btcd+lnd
This commit adds two Dockerfiles, along with a docker-compose file
which links the two docker files together allowing for single-command
deployment.

Using the docker-compose file, two containers are deployed. One running
btcd, and the other running lnd. Both containers share the same shared
volume mounted to the file system in order to allow land to read btcd’s
certificates for the TLS RPC connections.

Additionally, the btcd instance comes will an automatic RPC
configuration generated allowing one to use btcctl out of the box via
calls to “docker-compose exec btcctl …”.
2016-07-16 17:55:29 -07:00