- Nix 84.4%
- Shell 13.3%
- Makefile 2.3%
|
|
||
|---|---|---|
| apps | Add cron job | |
| etc | Add mechanism for mocking DNS replies | |
| tools | Proxy URL should use http:// instead of https:// | |
| .gitignore | Add Maildev | |
| .gitmodules | Add Hubzilla | |
| docker-compose.yml | Switch to a more recent dnsmasq image | |
| README.md | Add README.md | |
Test Network
This repository offers you the .test TLD, an isolated network on which applications can communicate with one another using HTTPS, just as though they were using the real Internet.
It is capable of running complex applications such as Mastodon and Hubzilla.
Setting up the network
Clone this repository:
$ git clone https://codeberg.org/FenTiger/testnet
$ cd testnet
Run the setup script to create a Docker network and a root certificate. You only need to do this once:
$ ./tools/setup.sh
Note that this script also saves some settings in .env. You'll need the contents of this file to add applications to the network.
Finally, start the network:
$ docker compose up
Setting up a web browser
Create a new browser profile and change the following settings:
- Proxy server - set this to
https://127.0.0.1:53081, or use a different IP address if appropriate - Root certificate - the
setup.shscript placed this in./etc/ca/certs/root_ca.crt. Configure your browser to trust this certificate.
Now you should be able to view the Traefik dashboard at:
If you can see this page - you're ready to add real software to the network.
Credits
Traces of Sandcastles are still visible in places, where the incoming tide hasn't quite washed them away.