-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·55 lines (52 loc) · 1.22 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
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "2"
services:
gitlab:
image: gitlab/gitlab-ce:latest
ports:
- "10080:80"
- "10443:443"
- "10022:22"
volumes:
- config:/etc/gitlab
- logs:/var/log/gitlab
- data:/var/opt/gitlab
- /etc/localtime:/etc/localtime:ro
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://localhost'
user['uid'] = 998
user['gid'] = 998
gitlab_rails['time_zone'] = 'Asia/Tokyo'
gitlab_rails['gitlab_shell_ssh_port'] = 10022
redmine:
image: redmine:latest
ports:
- "10081:3000"
volumes:
- redmine-files:/usr/src/redmine/files
- ./redmine-plugins:/usr/src/redmine/plugins
- ./git_repositories:/var/redmine/git_repositories
environment:
REDMINE_DB_POSTGRES: postgres
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: example
depends_on:
- postgres
postgres:
image: postgres:latest
volumes:
- redmine-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: redmine
POSTGRES_PASSWORD: example
volumes:
config:
driver: local
logs:
driver: local
data:
driver: local
redmine-files:
driver: local
redmine-data:
driver: local