- Copy
docker-compose
.env
file
cp .env.dist .env
- Create alias interface (tested on macOS only)
# Arbitrary A class IP address
# Careful to collisions
sudo ifconfig lo0 alias 10.0.2.2
- Add
REMOTE_HOST=10.0.2.2
in.env
# You're all set, run your tests
make unit