https://github.com/h1rono/db-ex
mysql and rust in docker
https://github.com/h1rono/db-ex
docker docker-compose mysql rust rust-lang
Last synced: 3 months ago
JSON representation
mysql and rust in docker
- Host: GitHub
- URL: https://github.com/h1rono/db-ex
- Owner: H1rono
- License: mit
- Created: 2022-12-26T04:03:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T21:10:20.000Z (over 3 years ago)
- Last Synced: 2025-07-05T01:02:20.202Z (about 1 year ago)
- Topics: docker, docker-compose, mysql, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# db-ex
mysql and rust in docker
## Usage
- Run main.rs: `docker compose up -d`
- Run tests: `docker compose -f docker-compose.test.yml up -d`
- Run main.rs in host machine: `DATABASE_URL=mysql://root:root@localhost:3306/sample cargo run`
- Before execute this command, MySQL is required to be serving