Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
84 lines (75 loc) · 2.1 KB
/
Copy pathcompose.yaml
File metadata and controls
84 lines (75 loc) · 2.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
services:
groupoffice:
build:
context: ./groupoffice
dockerfile: twentysixzero.Dockerfile
restart: always
ports:
- "8080:80"
depends_on:
- "db"
volumes:
- ./src/master:/usr/local/share/src:delegated
- godata:/var/lib/groupoffice:delegated
- ./profile:/tmp/profile:delegated
- goetc:/etc/groupoffice/multi_instance:delegated
- ./groupoffice/etc/groupoffice/globalconfig.inc.php:/etc/groupoffice/globalconfig.inc.php:delegated
- ~/Downloads:/root/Downloads
#- ./ssl:/etc/ssl/groupoffice:delegated
env_file:
- ./db.env
environment:
# for profiling set and enable the bind mount above:
# XDEBUG_MODE: "profile"
MYSQL_DATABASE: groupoffice
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
db:
image: mariadb:10.11
restart: always
ports:
- "8306:3306"
environment:
MYSQL_ROOT_PASSWORD: groupoffice
MARIADB_AUTO_UPGRADE: 1
env_file:
- ./db.env
volumes:
- dbdata:/var/lib/mysql:delegated
- ./db/etc/mysql/mariadb.conf.d/51-groupoffice.cnf:/etc/mysql/mariadb.conf.d/51-groupoffice.cnf
- ~/Downloads:/root/Downloads:delegated # Useful for importing large dump files
mailserver:
image: intermesh/groupoffice-mailserver:latest
## When using local builds for testing:
#build:
# context: ../docker-groupoffice-mailserver
restart: always
ports:
- "143:143"
- "4190:4190"
- "25:25"
- "587:587"
env_file:
- ./db.env
environment:
POSTMASTER_EMAIL: admin@intermesh.localhost
volumes:
- vmail:/var/mail/vhosts:delegated
- ~/Downloads:/root/Downloads:delegated # Useful for importing email source files
depends_on:
- "db"
# sass:
# restart: always
# build:
# context: ./sass
# volumes:
# - ./src:/src
# working_dir: /src
volumes:
godata:
goetc:
dbdata:
vmail:
lt-local: