-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.stage.yml
47 lines (43 loc) · 1.2 KB
/
docker-compose.stage.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
version: '3.1'
services:
redmine-app:
image: redmine
build:
context: ./4.2/
dockerfile: Dockerfile
container_name: redmine-app
restart: unless-stopped
env_file: .env
environment:
REDMINE_DB_MYSQL: redmine_db
REDMINE_DB_PASSWORD: ${REDMINE_DB_PASSWORD}
REDMINE_SECRET_KEY_BASE: redmine_key_base
volumes:
- ./.env:/usr/src/redmine/.env
- ./config/configuration.yml:/usr/src/redmine/config/configuration.yml
- ./config/database.yml:/usr/src/redmine/config/database.yml
- ./volumes/redmine/logs:/usr/src/redmine/log
- ./cronjob.sh:/usr/src/redmine/cronjob.sh
- ./crontab:/usr/src/redmine/crontab
- ./volumes/redmine/files:/usr/src/redmine/files
networks:
default:
ipv4_address: 172.2.110.112
links:
- redmine_db:db
redmine_db:
image: mysql:5.7
container_name: redmine-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${REDMINE_DB_PASSWORD}
MYSQL_DATABASE: ${REDMINE_DB}
volumes:
- ./volumes/redmine/mysql:/var/lib/mysql
networks:
default:
ipv4_address: 172.2.112.110
networks:
default:
external:
name: pool-network