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

init

parent e2d2d4f0
# change gitlab configuration # change gitlab configuration
``` ```
cp \ #edit variables fop config files (IP-Addres, Port...)
gitlab/volumes/etc/gitlab/gitlab.rb-dist \ edit init-config.bash
gitlab/volumes/etc/gitlab/gitlab.rb
edit volumes/etc/gitlab/gitlab.rb #sed values in config-files
bash init-config.bash
#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
# start reverse-proxy and gitlab # start reverse-proxy and gitlab
``` ```
docker-compose up -d docker-compose up -d
```
docker-compose exec \
gitlab gitlab-ctl reconfigure
``` ```
# change initial gitlab password (web interface) # change initial gitlab password (web interface)
...@@ -36,3 +24,4 @@ login with user "root" ...@@ -36,3 +24,4 @@ login with user "root"
#See https://caddyserver.com/docs/caddyfile #See https://caddyserver.com/docs/caddyfile
#https://gitlab.rz.uni-bamberg.de { #https://gitlab.rz.uni-bamberg.de {
https://:443 { #https://:443 {
https://141.13.240.122:443 {
#see https://caddyserver.com/docs/tls #see https://caddyserver.com/docs/tls
tls self_signed tls self_signed
#tls off #tls off
......
...@@ -17,6 +17,8 @@ services: ...@@ -17,6 +17,8 @@ services:
- caddynet - caddynet
ports: ports:
#- example for specific IP "141.13.99.99:80:80" #- example for specific IP "141.13.99.99:80:80"
#- "80:80"
#- "443:443"
- "80:80" - "80:80"
- "443:443" - "443:443"
command: -type http -port 80 -http2=false -conf /data/caddyfile command: -type http -port 80 -http2=false -conf /data/caddyfile
......
Supports Markdown
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