second-state / microservice-rust-mysql

A template project for building a database-driven microservice in Rust and run it in the WasmEdge sandbox.
Apache License 2.0
345 stars 53 forks source link

Fix DNS error on WASM adding static IPs to every container on a new network #22

Closed aalonsolopez closed 7 months ago

aalonsolopez commented 7 months ago

This change solves an error with Docker's DNS. With this, instead of relying on the DNS, we assign static IPs to every container on a new network called "Fixed" and we specify the exact DB direction on the DATABASE_URL env variable.

juntao commented 7 months ago

Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR.


Commit 9c26528614311e5356ce36172d19692942185510

Key changes:

Potential problems: