2017 © Pedro Peláez
 

library slim-docker

Starter for a dockerized Slim Framework application

image

kreait/slim-docker

Starter for a dockerized Slim Framework application

  • Friday, July 14, 2017
  • by jeromegamez
  • Repository
  • 4 Watchers
  • 12 Stars
  • 190 Installations
  • Makefile
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 22 % Grown

The README.md

Slim Framework Skeleton for Docker

A dockerized Slim Framework skeleton application as a starting point for new Slim Framework projects., (*1)

Requirements

Installation

Create a new project from this starter with, (*2)

$ composer create-project kreait/slim-docker target-directory

The actual Slim Framework application will be located in target-directory/web., (*3)

Then, start up the dockerized application:, (*4)

$ cd target-directory
$ docker-compose up

Images and Containers

The images for the application containers are built from the Dockerfiles in the docker directory so that you can modify them as needed for your application., (*5)

Helpers

The starter includes a Makefile to simplify the basic tasks:, (*6)

  • make build builds new Docker images with the current project files being copied into the images.
  • make up-dev will add the settings from dev.yml to the default configuration and start the application with the web directory being mounted into the containers.
  • make up-prod will add the settings from prod.yml to the default configuration and start the application
  • make down will stop the application

Execute make or make help from the project root to show all available tasks., (*7)

The Versions

14/07 2017

dev-master

9999999-dev https://github.com/kreait/slim-php-docker-starter

Starter for a dockerized Slim Framework application

  Sources   Download

MIT

framework docker slim

14/07 2017

1.0.2

1.0.2.0 https://github.com/kreait/slim-php-docker-starter

Starter for a dockerized Slim Framework application

  Sources   Download

MIT

framework docker slim

14/07 2017

1.0.3

1.0.3.0 https://github.com/kreait/slim-php-docker-starter

Starter for a dockerized Slim Framework application

  Sources   Download

MIT

framework docker slim

19/07 2016

1.0.1

1.0.1.0 https://github.com/kreait/slim-php-docker-starter

Starter for a dockerized Slim Framework application

  Sources   Download

MIT

framework docker slim

18/07 2016

1.0

1.0.0.0 https://github.com/kreait/slim-php-docker-starter

Starter for a dockerized Slim Framework application

  Sources   Download

MIT

framework docker slim