Home

Awesome

Fat-Free Framework

F3 development bench

This is a dockerized environment for testing and developing things on the fatfree-core.

It's utilizing Docker to spin up multiple containers, so the framework can be tested with multiple services and different versions of them at the same time.

Currently included:

The services are bind to your local machine network using Traefik. That way you'll have nice domain names for each php version with zero further configuration. Open localhost:8080 for reviewing the current traefik configuration. Also included is ready to use XDebug.

Usage

  1. First install docker.
  2. Copy sample.env to .env and if needed, adjust the ports to your local machine in case you already have something running at the default ports.
  3. Run docker-compose build to build the containers. This might take a round 20min, depending on your hardware.
  4. Run docker-compose up -d to start the dev bench
  5. Open your browser with the desired version to run:

TODO


Legal notice

This development environment belongs to the f3-factory community and is not meant for usage on a production system. No warranty for any security issues in case you put this on your public root.

Copyright (c) 2024 F3::Factory