File tree Expand file tree Collapse file tree
scripts/coverage/vey-proxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22
3- log : journal
3+ log : stdout
44
55stat :
66 target :
Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ services:
3737 - " 127.0.0.1:2003:2003"
3838 restart : always
3939
40+ glauth :
41+ image : ghcr.io/glauth/glauth:latest
42+ container_name : vey-proxy-glauth
43+ ports :
44+ - " 127.0.0.1:3893:3893"
45+ - " 127.0.0.1:6363:6363"
46+ volumes :
47+ - ./glauth.cfg:/app/config/config.cfg:ro
48+ - ./vey-proxy.local.pem:/app/config/vey-proxy.local.pem:ro
49+ - ./vey-proxy.local-key.pem:/app/config/vey-proxy.local-key.pem:ro
50+
4051 nginx :
4152 image : nginx:alpine
4253 container_name : vey-proxy-nginx
Original file line number Diff line number Diff line change 11[ldap]
22 enabled = true
3- listen = " 127 .0.0.1 :3893"
3+ listen = " 0 .0.0.0 :3893"
44 tls = true # support StartTLS
5- tlsCertPath = " vey-proxy.local.pem"
6- tlsKeyPath = " vey-proxy.local-key.pem"
5+ tlsCertPath = " /app/config/ vey-proxy.local.pem"
6+ tlsKeyPath = " /app/config/ vey-proxy.local-key.pem"
77[ldaps]
88 enabled = true # enable TLS
9- listen = " 127 .0.0.1 :6363"
10- certPath = " vey-proxy.local.pem"
11- keyPath = " vey-proxy.local-key.pem"
9+ listen = " 0 .0.0.0 :6363"
10+ certPath = " /app/config/ vey-proxy.local.pem"
11+ keyPath = " /app/config/ vey-proxy.local-key.pem"
1212[backend]
1313 datastore = " config"
1414 baseDN = " dc=glauth,dc=com"
Original file line number Diff line number Diff line change 66docker compose -f " ${PROJECT_DIR} " /scripts/coverage/vey-proxy/docker-compose.yml up -d
77
88
9- # start glauth
10- git clone https://github.com/glauth/glauth --depth 1
11- cd glauth/v2
12- cp " ${PROJECT_DIR} " /scripts/coverage/vey-proxy/* pem .
13- go build
14- ./glauth -c " ${PROJECT_DIR} " /scripts/coverage/vey-proxy/glauth.cfg &
15- GLAUTH_PID=$!
16- cd -
17-
189# start vey-dcgen
1910" ${PROJECT_DIR} " /target/debug/vey-dcgen -c " ${RUN_DIR} " /vey-dcgen.yaml -G port2999 &
2011DCGEN_PID=$!
8071kill -INT $STATSD_PID
8172kill -INT $IPLOC_PID
8273kill -INT $DCGEN_PID
83- kill -INT $GLAUTH_PID
8474
8575# # vey-proxy-ftp
8676
You can’t perform that action at this time.
0 commit comments