/service-concourse

Primary LanguagePowerShellApache License 2.0Apache-2.0

concouse for docker-compose

overview

usage

for windows

PS> ./keys/generate.ps1
wrote private key to /keys/session_signing_key
wrote private key to /keys/tsa_host_key
wrote ssh public key to /keys/tsa_host_key.pub
wrote private key to /keys/worker_key
wrote ssh public key to /keys/worker_key.pub
PS> run.ps1

for linux

$ ./keys/generate.sh
wrote private key to /keys/session_signing_key
wrote private key to /keys/tsa_host_key
wrote ssh public key to /keys/tsa_host_key.pub
wrote private key to /keys/worker_key
wrote ssh public key to /keys/worker_key.pub
$ ./run.sh

ldap auth

CONCOURSE_MAIN_TEAM_LDAP_GROUP=employees
CONCOURSE_LDAP_HOST={ldap host}
CONCOURSE_LDAP_BIND_DN={ldap login user dn}
CONCOURSE_LDAP_BIND_PW={ldap login user password}
CONCOURSE_LDAP_INSECURE_NO_SSL=true

CONCOURSE_LDAP_GROUP_SEARCH_BASE_DN={ladap group dn}
CONCOURSE_LDAP_GROUP_SEARCH_USER_ATTR=member
CONCOURSE_LDAP_GROUP_SEARCH_GROUP_ATTR=description
CONCOURSE_LDAP_GROUP_SEARCH_NAME_ATTR=cn

CONCOURSE_LDAP_USER_SEARCH_BASE_DN={ldap user dn}
CONCOURSE_LDAP_USER_SEARCH_ID_ATTR={ldap user id}
CONCOURSE_LDAP_USER_SEARCH_EMAIL_ATTR=mail
CONCOURSE_LDAP_USER_SEARCH_USERNAME={ldap user name}

add team

PS> fly -t main login -u http://xxxx:8080
PS> fly -t main set-team -n {team name} --ldap-user xxxxx [--ldap-group xxxx]

roles:
- name: member
  ldap:
    users: ["xxxxx"]
    groups: ["xxxxx"]

docs

LDAP auth

reference materials