https://github.com/multiversx/full-stack-docker-compose
Unified docker-compose for various projects
https://github.com/multiversx/full-stack-docker-compose
Last synced: 8 months ago
JSON representation
Unified docker-compose for various projects
- Host: GitHub
- URL: https://github.com/multiversx/full-stack-docker-compose
- Owner: multiversx
- Created: 2024-10-31T10:13:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T12:51:16.000Z (over 1 year ago)
- Last Synced: 2025-02-25T13:43:16.475Z (over 1 year ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 9
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# full-stack-docker-compose
This project contains a unified docker-compose for starting a full stack chain (a blockchain, an API, an explorer, a wallet)
for local testing.
## Chain simulator
Directory `chain-simulator` contains a `docker-compose.yaml` that includes the following services:
- a chain simulator
- an Elasticsearch cluster that will contain outport data from the chain
- an Events notifier client that will publish all the events via a RabbitMQ queue
- an API instance with all its dependencies (Redis, RabbitMQ, and so on)
- an instance of Explorer
- an instance of Lite Wallet
### How to start
```shell
cd chain-simulator
docker-compose down --remove-orphans
docker-compose up -d
```
### Services
The services are available at:
```
Chain simulator: 127.0.0.1:8085
Elasticsearch: 127.0.0.1:9200
API instance: 127.0.0.1:3001
Explorer: 127.0.0.1:3002
Lite Wallet: 127.0.0.1:3003
```
You can find a `test-pem.pem` file inside the `chain-simulator/scripts` directory. It can be used for connecting to Lite Wallet.
In order to fund it, you have to run the `chain-simulator/scripts/send-tx.sh` script before