-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·33 lines (33 loc) · 884 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·33 lines (33 loc) · 884 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
version: '3.1'
services:
postgres:
container_name: time_entries_api_db
image: postgres:latest
restart: always
networks:
- time_entries_api
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- 'POSTGRES_PASSWORD=password'
- 'POSTGRES_DB=redmine'
redmine:
container_name: time_entries_api_server
image: redmine:latest
restart: always
networks:
- time_entries_api
volumes:
- redmine-data:/usr/src/redmine/files
ports:
- 9090:3000
environment:
- 'REDMINE_DB_POSTGRES=postgres'
- 'REDMINE_DB_DATABASE=redmine'
- 'REDMINE_DB_PASSWORD=password'
volumes:
postgres-data:
redmine-data:
networks:
time_entries_api:
driver: bridge