-
Notifications
You must be signed in to change notification settings - Fork 314
/
docker-compose.local.yml
35 lines (35 loc) · 1.12 KB
/
docker-compose.local.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
32
33
34
35
version: '3'
services:
app:
environment:
# This variable is required to run local setup on Linux, determines the switch from root to user
- LOCAL=true
volumes:
# Mount source instead of copy
- ./src:/var/www/public:cached
# PHP configuration mount
- ./deploy/shared/conf/php/php.ini:/usr/local/etc/php/php.ini
# PHP FPM pool settings
- ./deploy/shared/conf/php/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
# Uncomment to use custom configuration with -debug image
- ./deploy/shared/conf/xdebug/xdebug-config.ini:/usr/local/etc/php/conf.d/xdebug-config.ini
# Uncomment line below only for testing launch script without rebuild
# - ./deploy/start.sh:/start.sh
redis:
ports:
- ${REDIS_PORT}:6379
nginx:
volumes:
# Mount source instead of copy
- ./src:/var/www/public:cached
kibana:
image: docker.elastic.co/kibana/kibana:${ELASTICSEARCH_VERSION}
restart: on-failure:5
environment:
- xpack.security.enabled=false
ports:
- 5601:5601
depends_on:
- elasticsearch
networks:
- default