1002 B
1002 B
Economy API Service
A main virtual currency payments gateway.
Deploying guide
Via Docker
- Install the latest Docker version
- Clone this repository
- Run
docker build -t economy_service .
in the project root directory to build an image - Run the image with
docker run economy_service
Manually
- Install the latest Rust version
- Clone this repository
- Run
cargo build --release --package economy_service
in the project root directory - Run the executable in
./target/release/economy_service
Environment variables
Variable | Purpose |
---|---|
USERS_SERVICE_URL | Users service URL |
DATABASE_URL | postgres:// database URL |
Note that the docker-compose.yml in this repo uses USERS_SERVICE_URL and POSTGRES_PASSWORD environment variables.
License
The project is licensend under GNU General Public License v3.0