forked from sameersbn/docker-redmine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-mariadb.yml
73 lines (64 loc) · 1.99 KB
/
docker-compose-mariadb.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
69
70
71
72
73
services:
database:
image: mariadb:11.2
environment:
- MARIADB_USER=redmine
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=redmine_production
- MARIADB_RANDOM_ROOT_PASSWORD=1
- MARIADB_AUTO_UPGRADE=1
volumes:
- /srv/docker/redmine/mariadb:/var/lib/mysql
# https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
command:
- mariadbd
# https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
- --transaction-isolation=READ-COMMITTED
# Configure 4byte utf8 support for full unicode support (all emojis), this requires manual conversion for existing tables. See README
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
redmine:
build: ./
image: sameersbn/redmine:6.0.1-2
depends_on:
- database
environment:
- TZ=Asia/Kolkata
- DB_ADAPTER=mysql2
- DB_ENCODING=utf8mb4
- DB_HOST=database
- 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_mariadb:/home/redmine/data
- /srv/docker/redmine/redmine-logs:/var/log/redmine