forked from david-pettifor-nd/project-reporting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.backup
40 lines (37 loc) · 1.1 KB
/
docker-compose.yml.backup
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
version: '3'
volumes:
pgdata:
redmine:
services:
db:
image: redmine_db
ports:
- 127.0.0.1:5432:5432
# - 5432:5432
environment:
DATABASE_USER: 'redmine'
DATABASE_PASSWORD: 'redminepass'
DATABASE_NAME: 'redmine'
volumes:
- pgdata:/var/lib/postgresql/data # <- important! the `/var/lib/postgresql/data` mounting point for your container is where postgresql's default data location is!
redmine:
image: redmine:latest
ports:
- 127.0.0.1:8080:3000
volumes:
- redmine:/usr
environment:
REDMINE_DB_POSTGRES: db
REDMINE_DB_DATABASE: 'redmine'
REDMINE_DB_USER: 'redmine'
REDMINE_DB_PASSWORD: 'redminepass'
web:
image: reports:latest
ports:
- 127.0.0.1:8000:8000
volumes:
- .:/code/ # <- the first "." is the local directory that will be mounted to the location defined after the ":" (/svr/)
depends_on:
- db
links:
- "db:database"