Rename faucet service name in docker compose (#11)

Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Reviewed-on: #11
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Nabarun 2024-07-24 09:46:36 +00:00 committed by nabarun
parent e84827e1fc
commit 7e7b355c0f
3 changed files with 9 additions and 16 deletions

View File

@ -1,5 +1,5 @@
services:
start-faucet:
faucet:
restart: unless-stopped
image: cerc/laconic-faucet:local
command: ["bash", "-c", "./start-faucet.sh"]

View File

@ -37,7 +37,7 @@ Instructions for running the laconic faucet
```bash
network:
ports:
laconic-faucet:
faucet:
- '3000:3000'
```

View File

@ -158,12 +158,6 @@
```
- Create a deployment for stage 1:
- Create spec file for the deployment:
```bash
laconic-so --stack ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd deploy init --output stage1-spec.yml
```
- Copy the contents of `stage0-spec.yml` to `stage1-spec.yml`:
```bash
@ -190,7 +184,7 @@
...
network:
ports:
laconic-faucet:
faucet:
- '4000:3000'
```
@ -574,6 +568,8 @@
- Press `a` to run the application on android and wait till the wallet app opens up on your phone
## Demo
- In laconic-wallet app, click on `Create wallet` and add laconicd chain using `Add network` button:
```bash
@ -587,8 +583,6 @@
Gas Price - `0.01`
```
## Demo
- Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created)
```bash
@ -1075,11 +1069,10 @@
```bash
# Run where deployments are created
sudo rm -rf 'stage0-deployment/data/laconicd-data/*'
sudo rm -rf 'stage0-deployment/data/genesis-config/*'
sudo rm -rf stage0-deployment/data/laconicd-data/*
sudo rm -rf 'stage1-deployment/data/laconicd-data/*'
sudo rm -rf 'stage1-deployment/data/genesis-config/*'
sudo rm -rf stage1-deployment/data/laconicd-data/*
sudo rm -rf stage1-deployment/data/genesis-config/*
```
- Reset faucet deployment:
@ -1093,7 +1086,7 @@
```bash
# Run where deployments are created
sudo rm -rf 'laconic-faucet-deployment/data/faucet-data/*'
sudo rm -rf laconic-faucet-deployment/data/faucet-data/*
```
## Re-run