-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
25 lines (25 loc) · 809 Bytes
/
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
version: '3.9'
volumes:
# Use this volume to store your dependencies management tools' caches
# PHP: https://getcomposer.org/doc/06-config.md#cache-dir
# https://getcomposer.org/doc/03-cli.md#composer-cache-dir
vendors_cache:
services:
php-packages:
user: operator
build:
context: ./docker/php-packages
volumes:
- "./packages/php/:/home/operator/packages"
- "vendors_cache:/vendors_cache"
nginx:
image: nginx
working_dir: "/var/www/"
ports:
- "80:80"
- "443:443"
volumes:
# - "./projects/backend-api-platform:/var/www/projects/backend-api-platform"
- "./docker/nginx/log/:/var/log/nginx/"
- "./docker/nginx/conf.d/symfony.conf:/etc/nginx/conf.d/default.conf"
- "./docker/nginx/nginx.conf:/etc/nginx/nginx.conf"