PHP Classes

File: docker-compose.yml

Recommend this page to a friend!
  Classes of Paulo Henrique   Laravel Automatic CRUD   docker-compose.yml   Download  
File: docker-compose.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Automatic CRUD
Generate a CRUD interface for Web and API requests
Author: By
Last change:
Date: 4 years ago
Size: 810 bytes
 

Contents

Class file image Download
version: '2' services: # The Application app: build: context: ./ dockerfile: app.dockerfile working_dir: /var/www container_name: automated-php volumes: - ./:/var/www environment: - "DB_PORT=3306" - "DB_HOST=database" # The Web Server web: build: context: ./ dockerfile: web.dockerfile working_dir: /var/www container_name: automated-web volumes_from: - app ports: - "80:80" # The Database database: image: mariadb:10.3 container_name: automated-database volumes: - dbdata:/var/lib/mysql environment: - "MYSQL_DATABASE=automated" - "MYSQL_USER=admin" - "MYSQL_PASSWORD=123" - "MYSQL_ROOT_PASSWORD=123" ports: - "3306:3306" volumes: dbdata: