PHP Classes
elePHPant
Icontem

File: docker-compose.yml

Recommend this page to a friend!
  Classes of Rafael Becker  >  PHP Expressive  >  docker-compose.yml  >  Download  
File: docker-compose.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Expressive
Base class for Object Relational Mapping
Author: By
Last change:
Date: 1 month ago
Size: 576 bytes
 

Contents

Class file image Download
version: '3'
services:
  web:
    image: nginx:alpine
    ports:
      - "80:80"
    volumes:
      - .:/var/www/html
      - ./site.conf:/etc/nginx/conf.d/default.conf

  php:
    build:
      context: .
      args:
        - INSTALL_XDEBUG=${INSTALL_XDEBUG}
    ports:
      - "9090:9000"
    expose:
      - "9000"
    volumes:
      - .:/var/www/html
    environment:
      - XDEBUG_CONFIG=remote_host=${IP}
      - DEBUG=${DEBUG:-0}
      - DB_HOST=${DB_HOST}
      - DB_PASS=${DB_PASS}
      - DB_NAME=${DB_NAME}
      - DB_USER=${DB_USER}
      - DB_DRIVER=${DB_DRIVER}