Sign inSign up

grrrnl/garp3-httpd

By grrrnl

Updated about 8 years ago

Web server for Garp 3 projects.

Image
1

760

grrrnl/garp3-httpd repository overview

Garp 3 webserver Docker setup

This is a webserver setup for Docker, to enable running a Garp 3 site out of the box. For instance, on your local development machine.

Garp 3 is a PHP based platform, originating from Grrr, based in Amsterdam.

You can use it with Docker Compose, or standalone. The Docker Compose route is practical when you're running a database setup. Or anything with multiple services or instances.

Next to the runtime, the development image also provides tools and dependencies for building and deployment.

Repository on Docker Hub: grrrnl/garp3-httpd

Example of a docker-compose.yml file in your project:

version: '2'
services:
  web:
    image: grrrnl/garp3-httpd
    ports:
      - "80:80"
    depends_on:
      - db
    volumes:
      - .:/var/www/html
    privileged: true
  db:
    image: grrrnl/garp3-db
    ports:
      - "3306:3306"
    restart: always
    volumes_from:
      - dbdata
    environment:
      MYSQL_ROOT_PASSWORD: secret
      MYSQL_DATABASE: my_database
      MYSQL_USER: my_db_user
      MYSQL_PASSWORD: my_db_pass
  dbdata:
    image: grrrnl/garp3-data
    volumes:
      - ./application/data/docker:/var/lib/mysql

Tag summary

Content type

Image

Digest

Size

137.4 MB

Last updated

about 8 years ago

docker pull grrrnl/garp3-httpd:php5