-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
51 lines (46 loc) · 1.41 KB
/
docker-compose.override.yml
File metadata and controls
51 lines (46 loc) · 1.41 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Docker Compose Override for Development
# This file is automatically loaded and can be used to override
# settings for local development
services:
# Development overrides for webserver
nginx:
environment:
# Disable rate limiting in development
- NGINX_LIMIT_REQ_ZONE=off
- NGINX_LIMIT_CONN_ZONE=off
# Development overrides for database
mariadb:
environment:
# Enable general query log in development
- MYSQL_GENERAL_LOG=1
- MYSQL_GENERAL_LOG_FILE=/var/log/mariadb/general.log
# Development overrides for cache
redis:
ports:
# Expose Redis to all interfaces in development
- "6379:6379"
# Development overrides for PHP services (example for php84)
# php84:
# environment:
# # Enable error display in development
# - PHP_DISPLAY_ERRORS=1
# - PHP_DISPLAY_STARTUP_ERRORS=1
# - PHP_ERROR_REPORTING=E_ALL
# # Enable OPcache validation in development
# - PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
# - PHP_OPCACHE_REVALIDATE_FREQ=2
# volumes:
# # Add development tools
# - "./dev-tools:/var/www/dev-tools:ro"
# Add Redis commander for Redis management
redis-commander:
image: rediscommander/redis-commander:latest
container_name: "webstack-redis-commander"
ports:
- "8082:8081"
environment:
REDIS_HOSTS: "local:redis:6379"
networks:
- webstack
depends_on:
- redis