Update 2 files
- /roles/gitlab/tasks/main.yml - /roles/gitlab/templates/docker-compose.gitlab.yml.j2
This commit is contained in:
parent
a3772264ee
commit
0425d6ec71
@ -43,7 +43,7 @@
|
|||||||
port: "{{ gitlab_http_port }}"
|
port: "{{ gitlab_http_port }}"
|
||||||
timeout: 600
|
timeout: 600
|
||||||
state: started
|
state: started
|
||||||
delay: 30
|
delay: 5
|
||||||
|
|
||||||
- name: Check GitLab status
|
- name: Check GitLab status
|
||||||
uri:
|
uri:
|
||||||
|
|||||||
@ -19,7 +19,12 @@ services:
|
|||||||
node_exporter['enable'] = false
|
node_exporter['enable'] = false
|
||||||
redis_exporter['enable'] = false
|
redis_exporter['enable'] = false
|
||||||
postgres_exporter['enable'] = false
|
postgres_exporter['enable'] = false
|
||||||
gitaly['prometheus_listen_addr'] = false
|
gitaly['configuration'] = {
|
||||||
|
prometheus: {
|
||||||
|
listen_addr: 'localhost:9236',
|
||||||
|
enabled: false
|
||||||
|
}
|
||||||
|
}
|
||||||
ports:
|
ports:
|
||||||
- "{{ gitlab_http_port }}:80"
|
- "{{ gitlab_http_port }}:80"
|
||||||
- "{{ gitlab_ssh_port }}:22"
|
- "{{ gitlab_ssh_port }}:22"
|
||||||
@ -28,10 +33,4 @@ services:
|
|||||||
- '{{ gitlab_logs_dir }}:/var/log/gitlab'
|
- '{{ gitlab_logs_dir }}:/var/log/gitlab'
|
||||||
- '{{ gitlab_data_dir }}:/var/opt/gitlab'
|
- '{{ gitlab_data_dir }}:/var/opt/gitlab'
|
||||||
- '{{ gitlab_backup_dir }}:/var/opt/gitlab/backups'
|
- '{{ gitlab_backup_dir }}:/var/opt/gitlab/backups'
|
||||||
shm_size: '256m'
|
shm_size: '256m'
|
||||||
networks:
|
|
||||||
- gitlab-network
|
|
||||||
|
|
||||||
networks:
|
|
||||||
gitlab-network:
|
|
||||||
driver: bridge
|
|
||||||
Loading…
Reference in New Issue
Block a user