Compose files and scripts to deploy and test environment of govtool. Additionally, it deploys services required to perform integration test on the environment
- basic-services : postgres and gateway
- cardano : node, dbsync and kuber
- govtool : govtool-frontend and govtool-backend
- govaction-loader : govaction-loader frontend and badkcne
- test : lighthouse-server and metadata-api
- Create
.envfile by copying.env.exampleand update it. - Make sure that DNS is pointed to the right server. Following are the domains used.
- lighthouse-{BASE_DOMAIN}
- kuber-{BASE_DOMAIN}
- metadata-{BASE_DOMAIN}
- governance-{BASE_DOMAIN}
- Buy a virtual server
- Install
dockerand enabledocker composeplugin. - execute
docker swarm initcommand.
- Generate secrets and configurations required by the services
./gen-configs.sh - Mark the nodes with labels to specify where the services should be run. In case of single node
docker swarm, all labels can be set to single node.
./deploy.sh prepare
./build-images.sh./deploy.sh stack all