-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (65 loc) · 2.01 KB
/
docker-compose.yml
File metadata and controls
69 lines (65 loc) · 2.01 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
web:
image: fpfis/httpd-php:8.3-dev
working_dir: /var/www/html
ports:
- "8080:8080"
volumes:
- .:/var/www/html
environment:
COMPOSER: composer.legacy.json
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:
- SCREEN_WIDTH=1280
- SCREEN_HEIGHT=800
- VNC_NO_PASSWORD=1
ports:
- '7900:7900'
shm_size: 2g
collabora:
image: collabora/code:latest
entrypoint: ""
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"
# Manually generate the proof key, replicating the behavior of "coolconfig generate-proof-key".
command:
- sh
- -c
- >
openssl genpkey -algorithm RSA -out /etc/coolwsd/proof_key -pkeyopt rsa_keygen_bits:2048 &&
openssl rsa -in /etc/coolwsd/proof_key -outform PEM -pubout -out /etc/coolwsd/proof_key.pub &&
/start-collabora-online.sh
volumes:
mysql: # eslint-disable-line yml/no-empty-mapping-value