-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
67 lines (62 loc) · 1.59 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
61
62
63
64
65
66
67
version: '2.0'
services:
redmine:
image: eaudeweb/redmine
restart: unless-stopped
volumes:
- redmine-files:/usr/src/redmine/files
- redmine-tmp:/usr/src/redmine/tmp
- redmine-repositories:/var/local/redmine/repositories/:Z
- redmine-backup:/var/local/redmine/backup/
- redmine-logs:/usr/src/redmine/log/
- redmine-imap-oauth:/usr/src/redmine/oauth/
depends_on:
- mysql
environment:
TZ: "${TZ}"
REDMINE_PLUGINS_MIGRATE: "true"
env_file:
- .env
mysql:
image: mysql:5.5
restart: unless-stopped
volumes:
- mysql-data:/var/lib/mysql
- redmine-backup:/var/local/backup/
environment:
TZ: "${TZ}"
env_file:
- .env
command:
- "--character-set-server=utf8mb4"
- "--collation-server=utf8mb4_unicode_ci"
- "--query-cache-size=0"
- "--query-cache-limit=64M"
- "--query-cache-type=0"
- "--innodb-buffer-pool-size=1G"
- "--innodb-buffer-pool-instances=4"
- "--net-read-timeout=7200"
- "--net-write-timeout=7200"
- "--max-allowed-packet=128M"
- "--tmp-table-size=384M"
- "--max-heap-table-size=384M"
- "--join-buffer-size=256M"
smtp:
image: eeacms/postfix
restart: unless-stopped
hostname: helpdesk.eaudeweb.ro
environment:
- MTP_HOST=${MTP_HOST}
- MTP_RELAY=${MTP_RELAY}
- MTP_PORT=${MTP_PORT}
- MTP_USER=${MTP_USER}
- MTP_PASS=${MTP_PASS}
- MTP_DESTINATION=${MTP_DESTINATION}
volumes:
redmine-files:
redmine-logs:
redmine-backup:
redmine-tmp:
redmine-repositories:
mysql-data:
redmine-imap-oauth: