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

Overview

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

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

Finally a sane way to register available commands and arguments and match your command line in PHP

clue/commander Finally a sane way to register available commands and arguments and match your command line in PHP. You want to build a command line in

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

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

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

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.

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

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

Comments
  • cant run docker-compose build

    cant run docker-compose build

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

    `markus@t400:~/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'

    markus@t400:~/work/phptest/fatfree-dev$ docker-compose -v

    docker-compose version 1.21.0, build unknown

    markus@t400:~/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

    opened by obsd-guru 2
Owner
Fat-Free Framework Factory
Fat-Free Framework Factory
Dockerized PHP development stack: Nginx, MySQL, MongoDB, PHP-FPM, HHVM, Memcached, Redis, Elasticsearch and RabbitMQ

PHP Dockerized Dockerized PHP development stack: Nginx, MySQL, MongoDB, PHP-FPM, HHVM, Memcached, Redis, Elasticsearch and RabbitMQ PHP Dockerized giv

Kasper Isager Dalsgarð 1.1k Dec 30, 2022
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

LaraEdit 444 Dec 7, 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

AncientWorks 10 Dec 3, 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

Matt Clinton 2 May 13, 2022
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

laradock 11.7k Jan 7, 2023
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

Nikolay Stepanov 359 Dec 8, 2022
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

We Provide 1.5k Jan 2, 2023
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

Rune Laenen 8 Oct 11, 2022
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

DDEV 1.6k Dec 29, 2022
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

EPTIC Solutions 6 Nov 22, 2022