-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
60 lines (56 loc) · 1.66 KB
/
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
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
56
57
58
59
60
version: '2'
services:
web:
image: fpfis/httpd-php-dev:8.2
working_dir: /var/www/html
ports:
- "8080:8080"
volumes:
- .:/var/www/html
- ../collabora-drupal:/var/www/collabora-drupal
# - $HOME/.composer/.auth.json:$HOME/.composer/.auth.json
environment:
DOCUMENT_ROOT: /var/www/html/web
# By leaving these variables empty Docker Compose will set them to their host values.
# XDEBUG CONFIGURATION.
XDEBUG_CONFIG: "client_host=172.17.0.1" # Non-Mac users.
# XDEBUG_CONFIG: "client_host=host.docker.internal" # Mac users.
XDEBUG_MODE: "develop, debug"
PHP_IDE_CONFIG: "serverName=Docker"
# Enable step debugging for all PHP request. See ./README.md#step-debugging for more information.
# XDEBUG_SESSION: 1
networks:
default:
aliases:
- "web.test"
mysql:
image: percona/percona-server:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
- mysql:/var/lib/mysql
selenium:
image: selenium/standalone-chrome:4.1.3-20220405
environment:
- DISPLAY=:99
ports:
- '7900:7900'
collabora:
image: collabora/code
ports:
- '9980:9980'
networks:
default:
aliases:
- "collabora.test"
environment:
username: admin
password: admin
extra_params: "\
--o:ssl.enable=false \
--o:storage.wopi.alias_groups[@mode]=groups \
--o:storage.wopi.alias_groups.group[0].host=http://web.test \
--o:storage.wopi.alias_groups.group[0].host[@allow]=true \
--o:storage.wopi.alias_groups.group[0].alias[0]=http://localhost"
volumes:
mysql: