Commit 1a9d935d authored by Martin Mai's avatar Martin Mai
Browse files

init

parent e2d2d4f0
# 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"
#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
......
......@@ -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
......
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