# Sentry setup on Akash Decloud * Please check code once in branch `v0.39-sentinel` : https://github.com/vitwit/akash-on-akash/tree/akhil/v0.39-sentinel * Build docker image of network you want to setup sentry node. If you already have any docker image, then it is fine. * Replace `app.toml` and `config.toml` in this [folder](https://github.com/vitwit/akash-on-akash/tree/akhil/v0.39-sentinel) with your network's app.toml and config.toml files. * And edit this [Dockerfile](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/Dockerfile) with your network image and other dependencies if needed. * And edit this [run.sh](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/run.sh) with your network commands. If your network SDK version is greater than v0.40, then you can remove [this rest-server command](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/run.sh#L39) and enable api server config directly in `app.toml` file you copied before. * Edit this [env file](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/env/definet) with your network peers and genesis values. And also replace `SENTINELHUB` with envPrefix of your network's binary. * Once everything is done, you can test this by following below method: * Build a docker image of this sentry setup locally by running command: ```shell= docker build -t <tag-name> . ``` * Once image build is successful, you can test it by editing this [test.sh](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/test.sh). Replace `sentinel-on-sentinel` with your `tag-name` which you used for before command. * Then run: `./test.sh` to test sentry setup. * Once everything worked fine, you can publish this image to dockerhub or any other, and use this image in [deployment-sdl file](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/sdl/deployment.yaml). Replace image value with your published docker image path. * You can use all these env values mentioned in this [file](https://github.com/vitwit/akash-on-akash/blob/akhil/v0.39-sentinel/env/definet#L1-L11) as env values in deployment-sdl file. * Once after updating changes in deployment.yaml file, you can use it to deploy sentry on akash decloud. Follow these instructions to deploy sentry: https://docs.akash.network/guides/deploy