Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itfl-service-public
gitlab-template
Commits
1a9d935d
Commit
1a9d935d
authored
Jan 31, 2017
by
Martin Mai
Browse files
init
parent
e2d2d4f0
Changes
3
Show whitespace changes
Inline
Side-by-side
README.md
View file @
1a9d935d
# change gitlab configuration
```
cp \
gitlab/volumes/etc/gitlab/gitlab.rb-dist \
gitlab/volumes/etc/gitlab/gitlab.rb
#edit variables fop config files (IP-Addres, Port...)
edit init-config.bash
edit volumes/etc/gitlab/gitlab.rb
#or
#edit gitlab/init-config.sh
#bash gitlab/misc/init-config.sh
#hostname
edit caddy-conf/caddyfile
#perhaps set ip for ssh
edit gitlab/docker-compose.yml
#sed values in config-files
bash init-config.bash
```
# start reverse-proxy and gitlab
```
docker-compose up -d
```
docker-compose exec \
gitlab gitlab-ctl reconfigure
```
# change initial gitlab password (web interface)
...
...
@@ -36,3 +24,4 @@ login with user "root"
caddy-conf/caddyfile
View file @
1a9d935d
#See https://caddyserver.com/docs/caddyfile
#https://gitlab.rz.uni-bamberg.de {
https://:443 {
#https://:443 {
https://141.13.240.122:443 {
#see https://caddyserver.com/docs/tls
tls self_signed
#tls off
...
...
docker-compose.yml
View file @
1a9d935d
...
...
@@ -17,6 +17,8 @@ services:
-
caddynet
ports
:
#- example for specific IP "141.13.99.99:80:80"
#- "80:80"
#- "443:443"
-
"
80:80"
-
"
443:443"
command
:
-type http -port 80 -http2=false -conf /data/caddyfile
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment