-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 1.09 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
version: "3"
services:
redmine:
build:
dockerfile: Dockerfile
context: .
container_name: "redmine"
restart: always
ports:
- "3000:3000"
environment:
RAILS_ENV: "development"
REDMINE_SECRET_KEY_BASE: BfHuEvT6
volumes:
- ./files:/usr/src/redmine/files
- ./log:/usr/src/redmine/log
- ./plugins:/usr/src/redmine/plugins
- ./themes:/usr/src/redmine/public/themes
links:
- "database"
- "mailhog"
database:
image: mariadb:10.6.4
container_name: "redmine-database"
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: redmine
volumes:
- ./data/mysql:/var/lib/mysql
command: ["mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
adminer:
container_name: "redmine-adminer"
image: adminer:latest
restart: always
ports:
- 8080:8080
links:
- "database"
mailhog:
image: mailhog/mailhog:latest
container_name: "remdine-mailhog"
restart: always
ports:
- "8025:8025"