Coder Social home page Coder Social logo

dockertools's Introduction

DockerTools

Simple in use Docker images for webdevelopment based on alpine linux

Containers

1. Builder

What is builder container?

We are using webpack and php composer to help you deploy a modern web application. Exemplar App you can found in project repository

Installed Packages

  • Node.js
  • NPM
  • PHP 7.2
  • PHP Composer

Start a build server

docker run -v "$PWD":/workspace gregorwebmaster/dockertools:builder

using docker-compose

version: '3.2'

services:

  builder:
    image: gregorwebmaster/dockertools:builder
    volumes:
      - "$PWD":/workspace

Run phpunit

docker run -v $PWD:/workspace --rm /workspace/app/src/vendor/bin/phpunit

2. Debuger

PHP-FPM server with preinstaled Xdebuger.

Ports

  • 9000 - PHP-FPM
  • 9005 - Xdebug

docker-compose configuration

version: '3'
services:
  web:
    container_name: web-serv
    image: nginx:1.15-alpine
    volumes: 
      - "$PWD":/var/www
    links:
      - php7
    
  php7:
    image: gregorwebmaster/dockertools:xdebug
    volumes: 
      - "$PWD":/var/www
    environment:
      XDEBUG_CONFIG: idekey=VSCODE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.