File: docker-compose.yml

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  docker-compose.yml  >  Download  
File: docker-compose.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 1 month ago
Size: 640 bytes
 

Contents

Class file image Download
version: "3.7"
services:
    webserver:
      image: nginx:alpine
      container_name: my-web
      working_dir: /application
      volumes:
          - ./:/application
          - ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
      ports:
        - "8888:8888"
      networks:
        - my-net

    php-fpm:
      build: phpdocker/php-fpm
      container_name: my-php
      working_dir: /application
      volumes:
        - ./:/application
        - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.2/fpm/conf.d/99-overrides.ini
      networks:
        - my-net

networks:
  my-net:
    external:
      name: my_project

For more information send a message to info at phpclasses dot org.