-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 1.02 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
version: '2.1'
services:
proxy:
image: nginx
environment:
DNSDOCK_ALIAS: 'redmine.docker'
ports:
- 80
links:
- redmine
network_mode: bridge
volumes:
- ./config/docker/nginx/redmine.docker:/etc/nginx/conf.d/default.conf
redmine:
image: redmine:3.2
restart: always
ports:
- 3000
network_mode: bridge
links:
- db
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_PASSWORD: example
volumes:
- ./images:/usr/src/redmine/public/themes/synbioz/images
- ./javascripts:/usr/src/redmine/public/themes/synbioz/javascripts
- ./stylesheets:/usr/src/redmine/public/themes/synbioz/stylesheets
- ./plugins:/usr/src/redmine/plugins
- ./plugins/redspot/assets:/usr/src/redmine/public/plugin_assets/redspot
db:
image: mysql:5.7
restart: always
network_mode: bridge
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: redmine
volumes:
- /var/lib/docker/data/mysql/redmine:/var/lib/mysql