Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/runtime/config/gitaly/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ dir = "{{GITLAB_SHELL_INSTALL_DIR}}"

[gitlab]
secret_file = "/home/git/gitlab-shell/.gitlab_shell_secret"
url = "http://localhost:8181{{GITLAB_RELATIVE_URL_ROOT}}"
url = "http://127.0.0.1:8181{{GITLAB_RELATIVE_URL_ROOT}}"

2 changes: 1 addition & 1 deletion assets/runtime/config/gitlab-pages/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ auth-redirect-uri={{GITLAB_PAGES_ACCESS_REDIRECT_URI}}
auth-secret={{GITLAB_PAGES_ACCESS_SECRET}}
gitlab-server={{GITLAB_PAGES_ACCESS_CONTROL_SERVER}}
artifacts-server={{GITLAB_PAGES_ARTIFACTS_SERVER_URL}}
internal-gitlab-server=http://localhost:8181
internal-gitlab-server=http://127.0.0.1:8181
api-secret-key={{GITLAB_INSTALL_DIR}}/.gitlab_pages_secret
4 changes: 2 additions & 2 deletions assets/runtime/config/gitlabhq/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/cable.yml.example
development:
adapter: redis
url: redis://localhost:6379
url: redis://127.0.0.1:6379
channel_prefix: gitlab_development
test:
adapter: redis
url: redis://localhost:6379
url: redis://127.0.0.1:6379
channel_prefix: gitlab_test
production:
adapter: redis
Expand Down
4 changes: 2 additions & 2 deletions assets/runtime/config/gitlabhq/resque.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# a Merge Request on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests
#
development:
url: redis://localhost:6379
url: redis://127.0.0.1:6379
# sentinels:
# -
# host: localhost
Expand All @@ -11,7 +11,7 @@ development:
# host: slave2
# port: 26381 # point to sentinel, not to redis port
test:
url: redis://localhost:6379
url: redis://127.0.0.1:6379
production:
# Redis (single instance)
url: redis://{{REDIS_HOST}}:{{REDIS_PORT}}/{{REDIS_DB_NUMBER}}
Expand Down
2 changes: 1 addition & 1 deletion assets/runtime/config/nginx/gitlab
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
## See installation.md#using-https for additional HTTPS configuration details.

upstream gitlab-workhorse {
server localhost:8181 fail_timeout=0;
server 127.0.0.1:8181 fail_timeout=0;
}

map $http_upgrade $connection_upgrade_gitlab {
Expand Down
2 changes: 1 addition & 1 deletion assets/runtime/config/nginx/gitlab-pages
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# The same address as passed to GitLab Pages: `-listen-proxy`
proxy_pass http://localhost:8090/;
proxy_pass http://127.0.0.1:8090/;
}
# Define custom error pages
error_page 403 /403.html;
Expand Down
2 changes: 1 addition & 1 deletion assets/runtime/config/nginx/gitlab-ssl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## See installation.md#using-https for additional HTTPS configuration details.

upstream gitlab-workhorse {
server localhost:8181 fail_timeout=0;
server 127.0.0.1:8181 fail_timeout=0;
}

map $http_upgrade $connection_upgrade_gitlab_ssl {
Expand Down
4 changes: 2 additions & 2 deletions assets/runtime/env-defaults
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GITLAB_DOWNLOADS_DIR="${GITLAB_DOWNLOADS_DIR:-$GITLAB_TEMP_DIR/downloads}"
GITLAB_SHARED_DIR="${GITLAB_SHARED_DIR:-$GITLAB_DATA_DIR/shared}"
GITLAB_DEFAULT_THEME=${GITLAB_DEFAULT_THEME:-2}
GITLAB_HTTPS=${GITLAB_HTTPS:-false}
GITLAB_HOST=${GITLAB_HOST:-localhost}
GITLAB_HOST=${GITLAB_HOST:-127.0.0.1}
GITLAB_CI_HOST=${GITLAB_CI_HOST:-}
GITLAB_PORT=${GITLAB_PORT:-}
GITLAB_IMPERSONATION_ENABLED=${GITLAB_IMPERSONATION_ENABLED:-true}
Expand Down Expand Up @@ -270,7 +270,7 @@ GITLAB_REGISTRY_ENABLED=${GITLAB_REGISTRY_ENABLED:-false}
GITLAB_REGISTRY_DIR="${GITLAB_REGISTRY_DIR:-$GITLAB_SHARED_DIR/registry}"
GITLAB_REGISTRY_HOST=${GITLAB_REGISTRY_HOST:-registry.example.com}
GITLAB_REGISTRY_PORT=${GITLAB_REGISTRY_PORT:-443}
GITLAB_REGISTRY_API_URL=${GITLAB_REGISTRY_API_URL:-http://localhost:5000/}
GITLAB_REGISTRY_API_URL=${GITLAB_REGISTRY_API_URL:-http://127.0.0.1:5000/}
GITLAB_REGISTRY_KEY_PATH=${GITLAB_REGISTRY_KEY_PATH:-config/registry.key}
GITLAB_REGISTRY_ISSUER=${GITLAB_REGISTRY_ISSUER:-gitlab-issuer}
GITLAB_REGISTRY_GENERATE_INTERNAL_CERTIFICATES=${GITLAB_REGISTRY_GENERATE_INTERNAL_CERTIFICATES:-false}
Expand Down