-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·55 lines (50 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
executable file
·55 lines (50 loc) · 1.12 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
52
53
54
55
services:
nginx:
image: ghcr.io/ronasit/php-nginx-dev:8.5
working_dir: /app
command: >
bash -c "chmod +x ./docker/entrypoint.sh && ./docker/entrypoint.sh && cd /opt/docker && supervisord"
ports:
- 80:80
- 443:443
volumes:
- ./:/app
links:
- pgsql
- pgsql_test
environment:
WEB_DOCUMENT_ROOT: /app/public
WEB_DOCUMENT_INDEX: index.php
REDIS_PORT: "6379"
XDEBUG_MAX_NESTING_LEVEL: 250
XDEBUG_PROFILER_ENABLE: 0
XDEBUG_START_WITH_REQUEST: 1
XDEBUG_DISCOVER_CLIENT_HOST: 0
XDEBUG_CLIENT_PORT: 9000
XDEBUG_CLIENT_HOST: host.docker.internal
php.xdebug.log_level: 0
pgsql:
image: postgres:18.3
ports:
- 5432:5432
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
volumes:
- .:/app
pgsql_test:
image: postgres:18.3
ports:
- 5433:5432
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
volumes:
- .:/app
redis:
image: redis:8.6
ports:
- 6379:6379
php:
image: webdevops/php:8.5-alpine
working_dir: /app
volumes:
- ./:/app