forked from phpdocker-io/phpdocker.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
29 lines (27 loc) · 953 Bytes
/
docker-compose.yaml
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
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.4"
services:
redis:
image: redis:alpine
webserver:
image: phpdockerio/nginx-pagespeed:latest
working_dir: /application
volumes:
- .:/application
- ./infrastructure/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- ./infrastructure/nginx/pagespeed.conf:/etc/nginx/pagespeed.conf
- ./infrastructure/local/:/etc/ssl/local/
ports:
- "10000:443"
php-fpm:
build:
dockerfile: Dockerfile
target: backend-dev
context: .
working_dir: /application
volumes:
- .:/application
- ./infrastructure/php-fpm/php-ini-overrides.ini:/etc/php/8.0/fpm/conf.d/99-overrides.ini
- ~/.cache/composer:/root/.composer/cache