A web-based development environment for experimenting with Traefik configurations. Test routing rules, middleware, and load balancing configurations in an isolated environment with real-time feedback.
🌐 Try it online at traefik-playground.com
- Interactive Configuration Editor: Write and test Traefik dynamic configurations with syntax highlighting
- Real-Time Preview: See configuration changes applied instantly in a containerized environment
- Experiment Sharing: Save and share configuration experiments via shareable URLs
- File Provider Support: Test configurations using Traefik's file provider
- Built-in Services: Pre-configured test services for immediate experimentation
- Nix package manager
-
Clone the repository:
git clone https://github.com/yourusername/traefik-playground.git cd traefik-playground
-
Start the development environment:
nix develop make dev
-
Open your browser and navigate to
http://localhost:8080
- Access the Traefik Playground UI in your browser
- Write or modify the Traefik dynamic configuration in the editor
- Click "Run Experiment" to apply the configuration
- Test your routes and observe the behavior
- Save and share experiments using the generated URLs
We welcome contributions! Here's how you can help:
- Read the architecture documentation in docs/architecture.md to understand the project structure
- Fork the repository and create a feature branch
- Make your changes following the existing code style
- Add tests for any new functionality
- Run the test suite to ensure everything works
- Submit a pull request with a clear description of your changes
# Clone your fork.
git clone https://github.com/yourusername/traefik-playground.git
cd traefik-playground
# Set up development environment.
nix develop
# Run in development mode.
make dev
Please ensure your code follows the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.