Commit cf1f9f3a authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

workhorse: configure longpolling

closes: #2
closes: #3
parent 312ee136
......@@ -7,4 +7,7 @@ cd /home/git/gitlab
su-exec git gitlab-workhorse \
-authSocket /home/git/gitlab/tmp/sockets/gitlab.socket \
-documentRoot /home/git/gitlab/public \
-listenAddr 0.0.0.0:8181
-listenAddr 0.0.0.0:8181 \
-config /etc/gitlab/workhorse/config.toml \
-apiCiLongPollingDuration 50s
......@@ -100,6 +100,14 @@ postgres_conf() {
EOF
}
workhorse_conf() {
mkdir -p /etc/gitlab/workhorse
cat <<- EOF >/etc/gitlab/workhorse/config.toml
[redis]
URL = "tcp://redis:6379"
EOF
}
setup_ssh() {
echo "Creating ssh keys..."
local keytype
......
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