Skip to content

The Docker image to run Garp 3 projects locally.

License

Notifications You must be signed in to change notification settings

grrr-amsterdam/garp3-httpd-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published