-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-unknown.yml
61 lines (59 loc) · 1.79 KB
/
docker-compose-unknown.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
56
57
58
59
60
61
services:
gitlab-ce:
image: gitlab/gitlab-ce:17.3.0-ce.0
restart: always
hostname: '127.0.0.1'
environment:
TZ: Asia/Shanghai
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://127.0.0.1:12345'
gitlab_rails['time_zone'] = 'Asia/Shanghai'
gitlab_rails['gitlab_shell_ssh_port'] = 22345
gitlab_rails['initial_root_password'] = "chatToBloodLine666?!"
registry_external_url 'http://127.0.0.1:32345'
puma['worker_processes'] = 0
sidekiq['concurrency'] = 10
prometheus_monitoring['enable'] = false
gitlab_rails['env'] = {
'MALLOC_CONF' => 'dirty_decay_ms:1000,muzzy_decay_ms:1000'
}
gitaly['configuration'] = {
concurrency: [
{
'rpc' => "/gitaly.SmartHTTPService/PostReceivePack",
'max_per_repo' => 3,
}, {
'rpc' => "/gitaly.SSHService/SSHUploadPack",
'max_per_repo' => 3,
},
],
cgroups: {
repositories: {
count: 2,
},
mountpoint: '/sys/fs/cgroup',
hierarchy_root: 'gitaly',
memory_bytes: 500000,
cpu_shares: 512,
},
}
gitaly['env'] = {
'MALLOC_CONF' => 'dirty_decay_ms:1000,muzzy_decay_ms:1000',
'GITALY_COMMAND_SPAWN_MAX_PARALLEL' => '2'
}
ports:
- "22345:22"
- "12345:12345"
- "32345:32345"
volumes:
- gitlab-ce-config-directory:/etc/gitlab
- gitlab-ce-logs-directory:/var/log/gitlab
- gitlab-ce-data-directory:/var/opt/gitlab
shm_size: '256m'
volumes:
gitlab-ce-config-directory:
driver: local
gitlab-ce-logs-directory:
driver: local
gitlab-ce-data-directory:
driver: local