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

Last update: Mar 29, 2022

Fat-Free Framework

F3 development bench

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

It uses Docker to spin up multiple containers, so the framework can be used using multiple services and different versions of them at the same time.

Currently included:

  • Apache 2.4
  • Memcached
  • Redis
  • MySQL 5.7
  • PHP-FPM 5.6
  • PHP-FPM 7.2
  • PHP-FPM 7.3
  • PHP-FPM 7.4
  • PHP-FPM 8.0
  • PHP-FPM 8.1

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. Also included is ready to use XDebug.

Usage

  1. First install docker.
  2. Copy sample.env to .env and adjust the ports to your local machine, if 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

  • add nginx configuration to reuse existing php-fpm servers
  • add mailhog for smtp testing

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) 2022 F3::Factory

GitHub

https://github.com/f3-factory/fatfree-dev
You might also like...

Quickly deploy a seedbox with self-hosted services and a web portal using Docker and docker-compose.

Quickly deploy a seedbox with self-hosted services and a web portal using Docker and docker-compose.

Seedbox Quickly deploy and configure a seedbox with self-hosted services and a web portal using Docker and a single docker-compose.yml file. Screensho

Jun 6, 2022

Vagrant is a tool for building and distributing development environments.

Vagrant Website: https://www.vagrantup.com/ Source: https://github.com/hashicorp/vagrant HashiCorp Discuss: https://discuss.hashicorp.com/c/vagrant/24

Jun 30, 2022

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

Latest Salt Documentation Open an issue (bug report, feature request, etc.) Salt is the world’s fastest, most intelligent and scalable automation engi

Jun 24, 2022

Server automation framework and application

Puppet Puppet, an automated administrative engine for your Linux, Unix, and Windows systems, performs administrative tasks (such as adding users, inst

Jun 30, 2022

Monitor for any changes in your php application and automatically restart it (suitable for async apps).

Monitor for any changes in your php application and automatically restart it (suitable for async apps).

PHP-watcher PHP-watcher helps develop long-running PHP applications by automatically restarting them when file changes in the directory are detected.

Jun 22, 2022

A modern Docker LAMP stack and MEAN stack for local development

A modern Docker LAMP stack and MEAN stack for local development

The Devilbox Usage | Architecture | Community | Features | Intranet | Screenshots | Contributing | Logos | License Support for valid https out of the

Jun 26, 2022

Up and running with small Docker environments

Up and running with small Docker environments

Vessel Up and running with small Docker dev environments. Documentation Full documentation can be found at https://vessel.shippingdocker.com. Install

Jun 29, 2022

A development tool for all your projects that is fast, easy, powerful and liberating

A development tool for all your projects that is fast, easy, powerful and liberating

Lando A Liberating Dev Tool For All Your Projects The local development and DevOps tool trusted by professional developers across the galaxy. Free you

Jun 25, 2022

🎲Neard is a portable WAMP software stack involving useful binaries, tools and applications for your web development.

🎲Neard is a portable WAMP software stack involving useful binaries, tools and applications for your web development.

About Neard is a portable WAMP software stack involving useful binaries, tools and applications for your web development. It also offers several versi

Jun 22, 2022
Comments
  • 1. cant run docker-compose build

    hi when i try to run the docker-compose build command i just get this :

    `[email protected]:~/work/phptest/fatfree-dev$ docker-compose build

    ERROR: The Compose file './docker-compose.yml' is invalid because:

    Unsupported config option for networks: 'internal'

    Unsupported config option for x-php-template: 'networks'

    Unsupported config option for services: 'pgsql'

    [email protected]:~/work/phptest/fatfree-dev$ docker-compose -v

    docker-compose version 1.21.0, build unknown

    [email protected]:~/work/phptest/fatfree-dev$ `

    maybe my version of docker-compose is incompatible ? shouldt the whole compose file start with a "version: 'X.Y'" ? well i dont know but any help is most appreciated

    regards

    Reviewed by obsd-guru at 2022-04-21 21:45
Dockerized version of Laravel Homestead

laraedit-docker Dockerized version of Laravel Homestead Documentation For now you can check out the wiki for details on using the container. Once the

Jun 15, 2022
Oxygen Builder's better workflow and environment

Oxygen Builder's better workflow and environment Built with ❤️ Official Website | Documentation | Change Log Supporting Artifact is an open source pro

Jun 9, 2022
ServD - a Docker PHP development environment heavily inspired by Laravel Valet and Laradock

ServD ServD is a Docker PHP development environment heavily inspired by Laravel Valet and Laradock, it supports multiple projects within a working dir

May 13, 2022
Full PHP development environment for Docker.
Full PHP development environment for Docker.

Full PHP development environment based on Docker. Use Docker First - Learn About It Later! Join Us Awesome People Laradock is an MIT-licensed open sou

Jun 24, 2022
Stacker - The environment for local web development, ready for use.
Stacker - The environment for local web development, ready for use.

Introduction English 简体中文 Why stacker? Stacker - This is a local environment for web development with everything you need. What is its benefit? You do

Apr 11, 2022
Blazing fast macOS PHP development environment
Blazing fast macOS PHP development environment

Introduction Valet+ is a development environment for macOS. No Vagrant, no Docker, no /etc/hosts file. Go here for the valet+ documentation. Credits T

Jun 17, 2022
Shopware 6 app boilerplate + Symfony backend + Dockware docker dev environment 💙

Shopware 6 app boilerplate with Symfony backend This boilerplate template can be used to get up and running with a docker-based dev setup for Shopware

Nov 14, 2021
DDEV-Local: a local PHP development environment system
DDEV-Local: a local PHP development environment system

ddev ddev is an open source tool that makes it simple to get local PHP development environments up and running in minutes. It's powerful and flexible

Jun 26, 2022
Valet WSL is an advanced development environment for Windows Subsystem for Linux
Valet WSL is an advanced development environment for Windows Subsystem for Linux

Introduction Valet WSL is an advanced development environment for Windows Subsystem for Linux. No Vagrant, no hosts file manual management. You can ev

Jun 29, 2022