-
Notifications
You must be signed in to change notification settings - Fork 499
/
docker-compose-mysql.yml
68 lines (59 loc) · 1.67 KB
/
docker-compose-mysql.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
68
services:
mysql:
image: mysql:8.0-bookworm
environment:
- MYSQL_USER=redmine
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=redmine_production
- MYSQL_RANDOM_ROOT_PASSWORD=yes
volumes:
- /srv/docker/redmine/mysql:/var/lib/mysql
# https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
command: --transaction-isolation=READ-COMMITTED
cap_add:
- SYS_NICE # CAP_SYS_NICE
redmine:
build: ./
image: sameersbn/redmine:6.0.2
depends_on:
- mysql
environment:
- TZ=Asia/Kolkata
- DB_ADAPTER=mysql2
- DB_ENCODING=utf8mb4
- DB_HOST=mysql
- DB_PORT=3306
- DB_USER=redmine
- DB_PASS=password
- DB_NAME=redmine_production
- REDMINE_PORT=10083
- REDMINE_HTTPS=false
- REDMINE_RELATIVE_URL_ROOT=
- REDMINE_SECRET_TOKEN=
- REDMINE_SUDO_MODE_ENABLED=false
- REDMINE_SUDO_MODE_TIMEOUT=15
- REDMINE_CONCURRENT_UPLOADS=2
- REDMINE_BACKUP_SCHEDULE=
- REDMINE_BACKUP_EXPIRY=
- REDMINE_BACKUP_TIME=
- SMTP_ENABLED=false
- SMTP_METHOD=smtp
- SMTP_DOMAIN=www.example.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- SMTP_PASS=password
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=:login
- IMAP_ENABLED=false
- IMAP_HOST=imap.gmail.com
- IMAP_PORT=993
- IMAP_PASS=password
- IMAP_SSL=true
- IMAP_INTERVAL=30
ports:
- "10083:80"
volumes:
- /srv/docker/redmine/redmine_mysql:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine