-
Notifications
You must be signed in to change notification settings - Fork 8
/
compose.yaml
86 lines (76 loc) · 2 KB
/
compose.yaml
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
services:
groupoffice:
build:
context: ./groupoffice
dockerfile: sixeight.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
db:
image: mariadb:11.5.2
restart: always
ports:
- "8306:3306"
environment:
MYSQL_ROOT_PASSWORD: groupoffice
MARIADB_AUTO_UPGRADE: 1
env_file:
- ./db.env
volumes:
- dbdata:/var/lib/mysql:delegated
- ~/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: [email protected]
volumes:
- vmail:/var/mail/vhosts:delegated
- ~/Downloads:/root/Downloads:delegated # Useful for importing email source files
depends_on:
- "db"
# - "solr"
# solr:
# image: solr
# ports:
# - "8983:8983"
sass:
restart: always
build:
context: ./sass
volumes:
- ./src:/src
working_dir: /src
volumes:
godata:
goetc:
dbdata:
vmail: