Skip to content
weblabltdPublic

About

Docker images for developing and testing with PHP and Symfony

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple Docker images for developing and testing with PHP and Symfony

Development image

Based on official PHP + apache image (php:\d-apache-buster).

Either define a new "docker" environment in your Symfony app or override APP_ENV to dev

Default config

ENV PROJECT_ROOT=/var/www/html/
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
ENV XDEBUG_REMOTE_HOST "host.docker.internal"
ENV APP_ENV "docker"

For debugging on Apple configure the host in your compose file:

    environment:
        - XDEBUG_REMOTE_HOST=docker.for.mac.localhost

For debugging on linux pass an extra host config:

    extra_hosts:
        - "host.docker.internal:host-gateway"

About

Docker images for developing and testing with PHP and Symfony

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages