Commit 628c4f2f authored by Ash McKenzie's avatar Ash McKenzie

Misc formatting for improved readability

parent 1497e82e
......@@ -9,26 +9,29 @@ redis: exec redis-server /home/git/redis/redis.conf
minio: exec support/object-store
postgresql: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql/data -k /home/git/postgresql -h ''
#postgresql-replica: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql-replica/data -k /home/git/postgresql-replica -h ''
#postgresql-geo: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql-geo/data -k /home/git/postgresql-geo -h ''
#openldap: exec support/exec-cd gitlab-openldap libexec/slapd -F slapd.d -d2 -h "ldap://$host:3890"
#storage-check: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab bin/storage_check -t unix:///home/git/gitlab.socket
# Essential services
# Geo
#
#postgresql-geo: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql-geo/data -k /home/git/postgresql-geo -h ''
#geo-cursor: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab/bin ./geo_log_cursor
# Backend services
#
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
gitlab-workhorse: exec /usr/bin/env PATH="/home/git/gitlab-workhorse/bin:$PATH" gitlab-workhorse -authSocket /home/git/gitlab.socket -listenAddr $host:$port -documentRoot /home/git/gitlab/public -developmentMode -secretPath /home/git/gitlab/.gitlab_workhorse_secret -config /home/git/gitlab-workhorse/config.toml
rails-background-jobs: exec /usr/bin/env SIDEKIQ_LOG_ARGUMENTS=1 RAILS_ENV=development support/exec-cd gitlab bin/background_jobs start_foreground
# Frontend services
#
webpack: exec /usr/bin/env NODE_ENV=development DEV_SERVER_PORT=3808 support/exec-cd gitlab yarn dev-server
rails-web: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab bin/web start_foreground
# Docker
#
registry: exec support/docker-registry
# Geo
#
#geo-cursor: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab/bin ./geo_log_cursor
# Monitoring
#
#influxdb: exec influxdb/bin/influxd -config influxdb/influxdb.conf
......
#!/bin/bash
replication_include="include 'replication.conf'"
postgres_dir="$( cd "$1" && pwd )"
if ! grep -Fxq "$replication_include" $postgres_dir/data/postgresql.conf; then
echo $replication_include >> $postgres_dir/data/postgresql.conf
fi
......
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