|
|
||
|---|---|---|
| .github/workflows | ||
| .vscode | ||
| migrations | ||
| src | ||
| templates | ||
| .env | ||
| .env.docker | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
| Rocket.toml | ||
| deploy.sh | ||
| diesel.toml | ||
| docker-compose.yml | ||
README.md
Request Mirror
This application provides a web ui for sending get/post requests and provides a visual ui for looking at what the application received. This is written in rust.
TODO:
- Update Readme
- Document
Docker
Please read through the documentation on setting up and installing docker on your machine. We'll use the CLI commands to deploy the application to docker.
See Get Docker
First you'll want to ensure you have build the container. Do that by running
docker build . -t raspberrypi99/request-mirror
Next you can start up the application using docker compose
docker compose up -d
This will deploy the application to docker. It will setup the postgres server, deploy the database using diesel and start request-mirror.
The following command will stop the deployed containers
docker compose down
Pushing to dockerhub
The image can then be pushed to docker using the following command. You may also want to modify it a little to your need
First login
docker login
Then push the image
docker push raspberrypi99/request-mirror:latest
Deploying to azure
TODO