rep init
This commit is contained in:
commit
9767c6bddc
22 changed files with 551 additions and 0 deletions
28
docker-compose.yaml
Normal file
28
docker-compose.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
webserver:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- ./default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./app:/app
|
||||
db:
|
||||
image: mysql:latest
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=ALEPH
|
||||
ports:
|
||||
- 3307:3306
|
||||
php:
|
||||
build: .
|
||||
ports:
|
||||
- 9000:9000
|
||||
- 9003:9003
|
||||
volumes:
|
||||
- ./app:/app
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
XDEBUG_MODE: develop,debug
|
||||
XDEBUG_CONFIG:
|
||||
client_host=host.docker.internal
|
||||
start_with_request=yes
|
Loading…
Add table
Add a link
Reference in a new issue