2020-12-22 18:42:24 +01:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
web:
|
|
|
|
|
image: nginx:latest
|
|
|
|
|
container_name: lewp_nginx
|
|
|
|
|
depends_on:
|
|
|
|
|
- php
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nginx:/etc/nginx/conf.d/
|
|
|
|
|
- ./../:/var/www/html
|
|
|
|
|
ports:
|
|
|
|
|
- 8080:80
|
|
|
|
|
|
|
|
|
|
php:
|
|
|
|
|
image: php:8-fpm
|
|
|
|
|
container_name: lewp_php
|
|
|
|
|
volumes:
|
|
|
|
|
- ./../:/var/www/html
|
|
|
|
|
|
|
|
|
|
composer:
|
|
|
|
|
image: composer:2.0.8
|
|
|
|
|
container_name: lewp_composer
|
|
|
|
|
volumes:
|
|
|
|
|
- ./../:/app
|
2020-12-23 11:55:43 +01:00
|
|
|
stdin_open: true
|
|
|
|
|
tty: true
|
2020-12-22 18:42:24 +01:00
|
|
|
command: composer install --ignore-platform-reqs
|