Add project files
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./src:/var/www/html:delegated
|
||||
environment:
|
||||
- NGINX_HOST=localhost
|
||||
- NGINX_PORT=80
|
||||
|
||||
php:
|
||||
build:
|
||||
context: ./docker/php
|
||||
dockerfile: Dockerfile.dev
|
||||
volumes:
|
||||
- ./src:/var/www/html:delegated
|
||||
environment:
|
||||
- PHP_IDE_CONFIG=serverName=docker
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
db:
|
||||
ports:
|
||||
- "3306:3306"
|
||||
Reference in New Issue
Block a user