Skip to content

Commit 8fda3be

Browse files
authored
Merge pull request #16 from ReadyMouse/main
Adding the donation address line to docker-compose.yml
2 parents 6729e9d + ae6378e commit 8fda3be

4 files changed

Lines changed: 24 additions & 11 deletions

File tree

docker/README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,35 @@ Install Docker on your server/VM and check out this source code repository.
2525
```
2626
git clone https://github.com/zecrocks/zcash-stack.git
2727
cd zcash-stack/docker
28-
docker compose -f docker-compose.zaino.yml up
28+
```
29+
30+
Adding your donation address to the lighwalletd config:
31+
* in docker-compose.yml about line 53 you'll see:
32+
```
33+
--donation-address==u14...
34+
```
35+
Change that to your unified sheilded address.
36+
Then bring up the docker container.
37+
38+
```
39+
docker compose -f docker-compose.yml up
2940
```
3041

3142
To run deattached in the background even if ssh connection drops:
3243
```
33-
docker compose -f docker-compose.zaino.yml up --detach
44+
docker compose -f docker-compose.yml up --detach
3445
```
3546
To stop the system, but with removing the volumes that get created.
3647
```
37-
docker compose -f docker-compose.zaino.yml down
48+
docker compose -f docker-compose.yml down
3849
```
3950

4051
## Troubleshooting and Docker Down
4152
As happens in life, there are often troubles and times when a clean start is desired. Here are some helpful debugging options for stopping the Docker continers.
4253

4354
Stop and remove all containers, networks, and volumes for this project
4455
```
45-
docker compose -f docker-compose.zaino.yml down -v --remove-orphans
56+
docker compose -f docker-compose.yml down -v --remove-orphans
4657
```
4758

4859
Remove all unused containers, networks, images, and volumes
@@ -67,7 +78,7 @@ systemctl restart docker
6778

6879
All together now! Hard removal of everything.
6980
```
70-
docker compose -f docker-compose.zaino.yml down -v --remove-orphans && docker system prune -a --volumes -f && docker volume prune -f && docker network prune -f
81+
docker compose -f docker-compose.yml down -v --remove-orphans && docker system prune -a --volumes -f && docker volume prune -f && docker network prune -f
7182
```
7283

7384
## Sync the Blockchain

docker/configs/zebra.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ peerset_initial_target_size = 25
5050
[rpc]
5151
debug_force_finished_sync = false
5252
parallel_cpu_threads = 1
53+
listen_addr = "0.0.0.0:8232"
5354

5455
[state]
5556
cache_dir = 'cache_dir'

docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ services:
5050
--data-dir=/var/lib/lightwalletd/db
5151
--log-file=/dev/stdout
5252
--log-level=7
53+
--donation-address=u14yr5fr2gzhedzrlmymtjp8jqsdryh6zpypnh8k2e2hq9z6jluz9hn9u088j02c3zphnf30he4pnm62ccyae6hfjjuqxlddhezw2te5p6xxhm68vvvpvynnzdcegq4c5u06slq673emarwjy5z0enj2ry53avx0nsmftpx4hhh5rhpgnc
5354
ports:
5455
- "9067:9067" # gRPC
5556
- "9068:9068" # HTTP

docs/class-3-observe.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This continues our dicussion of hosting a zcash full node. If you are just start
2626
## Manual Monitoring
2727
You can manually check your node's status using these commands:
2828
```bash
29-
docker compose -f docker-compose.zaino.yml ps -a
29+
docker compose -f docker-compose.yml ps -a
3030
```
3131
It might look something like this:
3232
```
@@ -38,16 +38,16 @@ zaino emersonian/zcash-zaino:0.1.2-zr4 "/app/zainod --co
3838
Logs will be here:
3939
```
4040
# Check container status
41-
docker compose -f docker/docker-compose.zaino.yml ps -a
41+
docker compose -f docker/docker-compose.yml ps -a
4242
4343
# Check Zebra logs
44-
docker compose -f docker/docker-compose.zaino.yml logs zebra --tail=20
44+
docker compose -f docker/docker-compose.yml logs zebra --tail=20
4545
46-
# Check Zaino logs
47-
docker compose -f docker/docker-compose.zaino.yml logs zaino --tail=20
46+
# Check lightwalletd logs
47+
docker compose -f docker/docker-compose.yml logs lightwalletd --tail=20
4848
4949
# Monitor real-time logs
50-
docker compose -f docker/docker-compose.zaino.yml logs -f
50+
docker compose -f docker/docker-compose.yml logs -f
5151
```
5252

5353
## hosh Monitoring Tool

0 commit comments

Comments
 (0)