Skip to content

Docker compose service that runs the whole solution on a single machine

License

Notifications You must be signed in to change notification settings

UniversalDot/compose-service

Repository files navigation

compose-service

Docker compose service that runs both the node and front-end on a single machine.

Logo

Docker-compose Setup

  1. Download this repo locally via git.
git clone https://github.com/UniversalDot/compose-service.git
  1. Install docker and docker-compose via script
sh install_docker.sh
  1. Verify that the front-end configuration is setup correctly for prod/dev.

  2. Navigate inside the folder...

cd compose-service
  1. Run docker-compose command
docker compose up -d

Note: -d flag stands for “detached” mode. When passing the '-d' flag we are running our services in the background.

  1. Once docker-compose is up, navigate to the browser to open localhost on port 8000. This will open the substrate-front-end application in your browser.
http://localhost:8000
  1. If you are installing on the server, you have to provide correct Server IP by configuring the - PROVIDER_SOCKET=ws://127.0.0.1:9944 in the front-end start.sh script. After installing on the server, you can access the deployment at:
http://SERVERIP:8000

FINAL NOTE: The application is still under development so there might be problems based on current configurations or your environment/setup. This build script will be continuously improved.

Docker-compose down

To stop all running containers simply run:

docker compose down

Maintainers

@Igor Stojanov @Slave Mitev

About

Docker compose service that runs the whole solution on a single machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published