-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (28 loc) · 1.15 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: '3.1'
services:
webserver:
image: 'nginx:1.27.2-alpine'
working_dir: /application
volumes:
- '.:/application'
- 'vendor:/application/app/third_party'
- './composer.json:/application/composer.json'
- './scripts/phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf'
ports:
- '13100:80'
php-fpm:
build:
context: ./
dockerfile: ./scripts/phpdocker/php-fpm/Dockerfile
working_dir: /application
volumes:
- '.:/application'
- 'vendor:/application/app/third_party'
- './composer.json:/application/composer.json'
- './scripts/phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.4/fpm/conf.d/99-overrides.ini'
- './scripts/phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.4/cli/conf.d/99-overrides.ini'
volumes:
vendor: