mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
#
|
|
# If you change this file in a Merge Request, please also create
|
|
# a Merge Request on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests
|
|
#
|
|
|
|
# GitLab user. git by default
|
|
user: git
|
|
|
|
# Url to gitlab instance. Used for api calls. Should end with a slash.
|
|
# Default: http://localhost:8080/
|
|
# You only have to change the default if you have configured Unicorn
|
|
# to listen on a custom port, or if you have configured Unicorn to
|
|
# only listen on a Unix domain socket.
|
|
gitlab_url: "http://localhost:8080{{GITLAB_RELATIVE_URL_ROOT}}/"
|
|
|
|
# See installation.md#using-https for additional HTTPS configuration details.
|
|
http_settings:
|
|
# user: someone
|
|
# password: somepass
|
|
# ca_file: /etc/ssl/cert.pem
|
|
# ca_path: /etc/pki/tls/certs
|
|
self_signed_cert: {{SSL_SELF_SIGNED}}
|
|
|
|
# Repositories path
|
|
# Give the canonicalized absolute pathname,
|
|
# REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!
|
|
# Check twice that none of the components is a symlink, including "/home".
|
|
repos_path: "{{GITLAB_REPOS_DIR}}"
|
|
|
|
# File used as authorized_keys for gitlab user
|
|
auth_file: "{{GITLAB_HOME}}/.ssh/authorized_keys"
|
|
|
|
# File that contains the secret key for verifying access to GitLab.
|
|
# Default is .gitlab_shell_secret in the root directory.
|
|
secret_file: "{{GITLAB_SHELL_INSTALL_DIR}}/.gitlab_shell_secret"
|
|
|
|
# Redis settings used for pushing commit notices to gitlab
|
|
redis:
|
|
bin: /usr/bin/redis-cli
|
|
host: "{{REDIS_HOST}}"
|
|
port: {{REDIS_PORT}}
|
|
# pass: redispass # Allows you to specify the password for Redis
|
|
database: 0
|
|
# socket: /tmp/redis.socket # Only define this if you want to use sockets
|
|
namespace: resque:gitlab
|
|
|
|
# Log file.
|
|
# Default is gitlab-shell.log in the root directory.
|
|
log_file: "{{GITLAB_LOG_DIR}}/gitlab-shell/gitlab-shell.log"
|
|
|
|
# Log level. INFO by default
|
|
log_level: INFO
|
|
|
|
# Audit usernames.
|
|
# Set to true to see real usernames in the logs instead of key ids, which is easier to follow, but
|
|
# incurs an extra API call on every gitlab-shell command.
|
|
audit_usernames: false
|
|
|
|
# Enable git-annex support
|
|
# git-annex allows managing files with git, without checking the file contents into git
|
|
# See https://git-annex.branchable.com/ for documentation
|
|
# If enabled, git-annex needs to be installed on the server where gitlab-shell is setup
|
|
# For Debian and Ubuntu systems this can be done with: sudo apt-get install git-annex
|
|
# For CentOS: sudo yum install epel-release && sudo yum install git-annex
|
|
git_annex_enabled: false
|