-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 940 Bytes
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
version: '3.7'
services:
redmine:
image: redmine:5.0
ports:
- 3000:3000
expose:
- 3000
volumes:
- .:/usr/src/redmine/plugins/redmine_sample_graph
restart: always
environment:
REDMINE_DB_POSTGRES: postgres
REDMINE_DB_DATABASE: redmine
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: redmine
TZ: Asia/Tokyo
links:
- postgres
postgres:
image: postgres:15
volumes:
- ./postgres/db-data:/var/lib/postgresql/data
- ./postgres/initdb:/docker-entrypoint-initdb.d
ports:
- 5432:5432
restart: always
environment:
POSTGRES_ROOT_PASSWORD: postgres
POSTGRES_USER: redmine
POSTGRES_PASSWORD: redmine
POSTGRES_DATABASE: redmine
TZ: Asia/Tokyo