add IP & DNS configuration description
parent
1d538197af
commit
f4a29ca356
|
|
@ -1,4 +1,6 @@
|
|||
GITLAB_ROOT_PASSWORD="example"
|
||||
GITLAB_ROOT_EMAIL="example"
|
||||
|
||||
GITLAB_IP_OR_DNS="http://0.0.0.0"
|
||||
|
||||
GITHUB_ACCESS_TOKEN="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"
|
||||
|
|
@ -1,5 +1,19 @@
|
|||
# Gitlab configuration
|
||||
|
||||
## Gitlab IP or DNS address
|
||||
|
||||
edit .env file and define external url IP or DNS, it should solve problems with issue routing, try like that (for example):
|
||||
|
||||
```bash
|
||||
GITLAB_IP_OR_DNS="http://192.168.1.103"
|
||||
```
|
||||
|
||||
instead:
|
||||
|
||||
```bash
|
||||
GITLAB_IP_OR_DNS="http://0.0.0.0"
|
||||
```
|
||||
|
||||
## SSH config
|
||||
|
||||
Add these lines into ~/.ssh/config file
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ services:
|
|||
# network setup
|
||||
|
||||
letsencrypt['enable'] = false
|
||||
external_url 'http://0.0.0.0'
|
||||
external_url '${GITLAB_IP_OR_DNS}'
|
||||
# gitlab_rails['gitlab_https'] = true
|
||||
# gitlab_rails['gitlab_port'] = 443
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in New Issue