PHP Classes

File: Docker/docker.yml

Recommend this page to a friend!
  Classes of Kamil   PHP API Tutorial Training Server   Docker/docker.yml   Download  
File: Docker/docker.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP API Tutorial Training Server
Implementation of a REST API for learning purposes
Author: By
Last change:
Date: 2 years ago
Size: 1,026 bytes
 

Contents

Class file image Download
version: '2' services: fpm: build: context: ./ dockerfile: fpm.docker volumes: - ./../:/app links: - database networks: - rest_control cli: build: context: ./ dockerfile: cli.docker volumes: - ./../:/app tty: true stdin_open: true links: - database networks: - rest_control web: build: context: ./ dockerfile: nginx.docker links: - database - fpm - cli volumes: - ./../:/app - ./mysite.template:/etc/nginx/conf.d/mysite.template ports: - "80:80" networks: - rest_control database: image: mysql:5.6 volumes: - dbdata:/var/lib/mysql environment: - "MYSQL_DATABASE=training" - "MYSQL_USER=user" - "MYSQL_PASSWORD=secret" - "MYSQL_ROOT_PASSWORD=secret" ports: - "33061:3306" networks: - rest_control volumes: dbdata: networks: rest_control: external: name: rest-control