-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcompose.override.yaml.example
More file actions
163 lines (149 loc) · 4.1 KB
/
compose.override.yaml.example
File metadata and controls
163 lines (149 loc) · 4.1 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
services:
groupoffice:
build:
context: ./groupoffice
dockerfile: testing.Dockerfile
ports: !override
- "80:80"
- "443:443"
environment:
MYSQL_DATABASE: groupoffice
# for profiling set and enable the bind mount above:
#XDEBUG_MODE: "profile"
# Example of running another version next to the master branch. Duplicate this and the volumes below to create more versions,
groupoffice-250:
build:
context: ./groupoffice
dockerfile: twentyfivezero.Dockerfile
restart: always
ports:
- "8250:80"
links:
- db
volumes:
- /Volumes/Projects/docker-groupoffice-development/src/63:/usr/local/share/src:delegated
- "godata_250:/var/lib/groupoffice"
- "goetc_250:/etc/groupoffice/multi_instance"
- ./groupoffice/etc/groupoffice/globalconfig.inc.php:/etc/groupoffice/globalconfig.inc.php:delegated
env_file:
- ./db.env
environment:
MYSQL_USER: root
MYSQL_DATABASE: groupoffice_250
PHP_IDE_CONFIG: "serverName=localhost" #for PHPStorm path mappings in Preferences -> PHP -> Servers
working_dir: /usr/local/share/src
extra_hosts:
- host.docker.internal:host-gateway
# Discovery URL: http://host.docker.internal:9980
# On Linux you have to add host.docker.internal to /etc/hosts
collabora:
image: collabora/code
environment:
domain: (.*\.group-office\.com|host\.docker\.internal|.*\.groupoffice\.net|172\.18\.0\.1)
username: admin
password: adminadmin
extra_params: --o:ssl.enable=false
volumes:
- lo_config_volume:/etc/loolwsd
cap_add:
- SYS_ADMIN
ports:
- "9980:9980"
restart:
unless-stopped
extra_hosts:
- host.docker.internal:host-gateway
# Use http://host.docker.internal:9080 in Group-Office as OnlyOffice server URL
# only works when accessing GO on host.docker.internal
# On Linux you have to add host.docker.internal to /etc/hosts
onlyoffice:
image: onlyoffice/documentserver
ports:
- "9080:80"
restart:
unless-stopped
extra_hosts:
host.docker.internal: host-gateway
environment:
# Uncomment strings below to enable the JSON Web Token validation.
#- JWT_ENABLED=true
#- JWT_SECRET=s3cr3t
#- JWT_HEADER=Authorization
#- JWT_IN_BODY=true
# webgrind:
# ports:
# - "8002:8080"
# image: wodby/webgrind
# restart: always
# environment:
# WEBGRIND_PROFILER_DIR: /tmp
# WEBGRIND_STORAGE_DIR: /tmp
# PHP_MAX_EXECUTION_TIME: 1200,
# WEBGRIND_DEFAULT_TIMEZONE: Europe/Amsterdam
# volumes:
# - "webgrind:/tmp"
#
# testopenldap:
# image: rroemhild/test-openldap
# privileged: true
# restart:
# unless-stopped
# mysql:
# image: mysql
# restart: always
# environment:
# MYSQL_ROOT_PASSWORD: groupoffice
# env_file:
# - ./db.env
#
# volumes:
# - "mysqldata:/var/lib/mysql"
#
# mysqladmin:
# image: phpmyadmin/phpmyadmin
# restart: always
# links:
# - mysql:mysql
# env_file:
# - ./db.env
# environment:
# MYSQL_ROOT_PASSWORD: groupoffice
#
# PMA_HOST: mysql
#
# #Auto login as root
# PMA_USER: root
# PMA_PASSWORD: groupoffice
#
# # Settings for configuration storage. You must create this database manually. See README.md
# PMA_PMADB: phpmyadmin
# PMA_CONTROLHOST: mysql
# PMA_CONTROLPORT: 3306
# PMA_CONTROLUSER: root
# PMA_CONTROLPASS: groupoffice
#
# UPLOAD_LIMIT: 3000000000
#
# ports:
# - 8003:80
# Can be used for automatic translations
# docker compose exec groupoffice php www/cli.php community/dev/Language/export --language=nl --translate --missingOnly
# libretranslate:
# image: libretranslate/libretranslate
# environment:
# #- LT_UPDATE_MODELS=true
# - LT_LOAD_ONLY=en,cs,nl,de,fr,es
# - LT_THREADS=16
# - LT_PORT=5010
# tty: true
# restart:
# unless-stopped
# ports:
# - 5010:5010
# volumes:
# - lt-local:/home/libretranslate/.local
volumes:
# lo_config_volume:
godata_250:
goetc_250:
# mysqldata: