Docker Images - csap-platform/csap-core GitHub Wiki
References: New Application Setup, Install Notes
The demo image entrypoint will first run the install, then starts the agent on port 9011 with the agent host portal accessible. 9021 is optionally exported (default port for csap-verify-service).
#!/bin/bash
echo default credentials: csap / csap
myHostName=$(hostname --long) ;
if [ $? != 0 ]; then echo assuming osx ; myHostName=$(hostname -f).local ; fi ;
docker run \
--rm \
--name csap-demo \
--publish 9011:9011 --publish 9013:9013 --publish 9021:9021 --publish 9023:9023 \
--env dockerHostFqdn=$myHostName \
csapplatform/demo:latest
#
# optional for host docker: --pid=host --volume /var/run/docker.sock:/var/run/docker.sock \
# warning: this does a chmod 777 /var/run/docker.sock; post shutdown do: sudo chmod 770 /var/run/docker.sock
#
Run the commands shown below; after extracting the csap-host.zip, refer to Install Notes and New Application Setup to complete the install
#!/bin/bash
mkdir install;
docker run \
--rm \
--name csap-installer \
--volume=$(pwd)/install:/transfer \
csapplatform/installer
#
# run new application commands to extract installer
#
yum --assumeyes install wget unzip
unzip -j csap-host-*.zip csap-platform/packages/csap-package-linux.zip && unzip -qq csap-package-linux.zip installer/*
#
# run installer notes commands
#
installer/install.sh -noPrompt \
-installCsap "default" \
-csapDefinition default
Extends mongo image with schema creation for CSAP Events Service (stores metrics and user events)
Extends https://github.com/bitnami/bitnami-docker-openldap with schema creation for verifying LDAP integration
#!/bin/bash
# start the demo server
# web user: admin/admin
docker run \
--rm --detach \
--name ldap-server \
--publish 389:1389 \
csapplatform/ldap-server
# optional: a ldap web app client for verifying the above
# ldap admin: cn=admin,dc=example,dc=org, pass: admin
docker run \
--rm --detach \
--name ldap-ui \
--publish 8080:80 \
--env PHPLDAPADMIN_LDAP_HOSTS=$(hostname --long) \
--env PHPLDAPADMIN_HTTPS=false \
osixia/phpldapadmin:latest