Commit 77a3d54b authored by Bob Van Landuyt's avatar Bob Van Landuyt

Optionally start a process to monitor configured storages

parent ac18796d
Pipeline #14850482 passed with stages
in 32 minutes and 37 seconds
......@@ -15,8 +15,8 @@ postgres_replication_user = gitlab_replication
postgres_dir = $(realpath ./postgresql)
postgres_replica_dir = $(realpath ./postgresql-replica)
postgres_geo_dir = $(realpath ./postgresql-geo)
hostname = $(shell cat hostname 2>/dev/null)
port = $(shell cat port 2>/dev/null)
hostname = $(shell cat hostname 2>/dev/null || echo 'localhost')
port = $(shell cat port 2>/dev/null || echo '3000')
username = $(shell whoami)
sshd_bin = $(shell which sshd)
git_bin = $(shell which git)
......
......@@ -18,3 +18,4 @@ gitaly: exec gitaly/bin/gitaly /home/git/gitaly/config.toml
webpack: exec /usr/bin/env NODE_ENV=development DEV_SERVER_PORT=3808 support/exec-cd gitlab yarn dev-server
#geo-cursor: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab/bin ./geo_log_cursor
registry: exec support/docker-registry
#storage-check: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab bin/storage_check -t unix:///home/git/gitlab.socket
......@@ -45,7 +45,7 @@ geo_db() {
app() {
print_port
foreman_start -m all=0,rails-web=1,rails-background-jobs=1,gitlab-workhorse=1,nginx=1,grafana=1,sshd=1,gitaly=1
foreman_start -m all=0,rails-web=1,rails-background-jobs=1,gitlab-workhorse=1,nginx=1,grafana=1,sshd=1,gitaly=1,storage-check=1
}
grafana() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment