/rust-docker-image-test

🐳 Testing Rust docker image

Primary LanguageRustMIT LicenseMIT

Rust Docker image test

HitCount GitHub stars GitHub forks GitHub contributors GitHub license

🐳 Testing Rust docker image. This repo is a simple example of how to package a Rust app in a Docker container using docker-compose.

Requirements

  1. docker-ce
  2. docker-compose

Usage

To run the Rust API, please execute the following commands from the root directory:

  1. Run the server as a docker container with docker-compose

    docker-compose up -d --build

Logging

For checking the logs of the whole stack in real time, the following command is recommend it:

docker-compose logs -f

Authors

License

MIT © Rust Docker Image Test