Tags:
not added yet
Table of Contents
codeBeamer 10.0 Docker ImageDocker Hubhttps://hub.docker.com/r/intland/codebeamer Supported docker variablesApplication configuration via environment variablesSee: Application Configuration via Environment Variables Wait serviceDocker image contains 3rd party tool for waiting service like database. See: https://github.com/ufoscout/docker-compose-wait Required parameters
Optional parametersCB_SESSION_CLEANUP [true (default), false] - codeBeamer 10.xEvery session record has a version hash which is calculated from:
Session cleanup feature removes every session record from the DB which has a different session version than the currently booting application. Wait service
Application
Initial database script during startupCB_INIT_SQL_FILES=/path/to/your/sqlfile1,/path/to/your/sqlfile2
with compose volumes: - /path/to/folder/of/your/sql/files/on/host:/path/to/folder/of/your/sql/files/in/docker without compose docker run -v /path/to/folder/of/your/sql/files/on/host:/path/to/folder/of/your/sql/files/in/docker ... Initial configurationCB_initial_config can be used for starting the application with initial configuration. CB_initial_config={ "search" : { "delay" : 90, "fuzzy-similarity-factor" : 0.6 } } Time zoneTZ parameter can be used to set timezone of the container. Please use the name of the time zones from here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ=Europe/Berlin LoggingSince 10.1-SP1 version, system and error logs are not sent to the docker, it can be turned on by the CB_DOCKER_LOGGING=true environment variable DebugRemote java debug can be turned on, it uses the 7896 port inside the container DEBUG=TRUE Tomcat parameters
Security
Please note the 8080 port is set to insecure, in case you use the proxy server for HTTPS you need to use the 8090 port
Also see: How to Set Up SSL for codebeamer VolumesHow to add (or override) files to the docker imagesBind your directory to the docker images codebeamer-app: image: cb-minimal-empty:latest env_file: - ./config/mail.env ..... environment: - DEBUG=false ...... volumes: - ~/update:/home/appuser/codebeamer/update - codebeamer-app-repository-docs:/home/appuser/codebeamer/repository/docs - codebeamer-app-repository-search:/home/appuser/codebeamer/repository/search - codebeamer-app-logs:/home/appuser/codebeamer/logs links: - codebeamer-db:container-mysql "~/update" will be bound to the container and will be available under "/home/appuser/codebeamer/update" On Windows docker hosts, the folder separator for update directory should be backslash - e.g.- .\update:/home/appuser/codebeamer/update Please also note that upon first startup docker guest will mount this folder as a windows share from host machine. Update directory could contain the following files / directory
Use casesHow to change the logo of the applicationCreate a root.zip with a logo.png in "/config/logo" directory User the following configuration for CB_initial_config CB_initial_config={ "interactive" : { "logo" : { "selected" : "custom", "custom-logo-available" : true, "custom-url" : "/logo/logo.png" } } } Please note if you use docker compose file value of CB_initial_config should be escaped: codebeamer-app: image: cb-minimal-empty:latest depends_on: codebeamer-db: condition: service_healthy env_file: - ./config/mail.env ...... environment: - "CB_initial_config={ \"interactive\" : { \"logo\" : { \"selected\" : \"custom\", \"custom-logo-available\" : true, \"custom-url\" : \"/logo/logo.png\" } } }" - DEBUG=false - TZ=Europe/Berlin ...... How to change the login pagecodebeamer-app: image: cb-minimal-empty:latest depends_on: codebeamer-db: condition: service_healthy env_file: - ./config/mail.env .... environment: - "CB_initial_config={\"interactive\":{\"slogan-text\":{\"format\":\"\",\"text\":\"meine Kopfzeile\"},\"welcome-text\":{\"format\":\"W\"},\"login-text\":{\"format\":\"W\",\"keep-style\":false,\"text\":\"[{Html\\r\\n\\r\\n\\t\\t\\t\\t<html>\\r\\n\\t\\t\\t\\t<head>\\r\\n\\t\\t\\t\\t\\t<style>\\r\\n\\t\\t\\t\\t\\tbody {\\r\\n\\t\\t\\t\\t\\t\\tbackground-image: url('gui/background.jpg') ;\\r\\n\\t\\t\\t\\t\\t\\tbackground-repeat: no-repeat;\\r\\n\\t\\t\\t\\t\\t\\tbackground-attachment: fixed;\\r\\n\\t\\t\\t\\t\\t\\tbackground-size: 100% auto;\\r\\n\\t\\t\\t\\t\\t\\tfont-family: Arial, sans-serif;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t.login {\\r\\n\\t\\t\\t\\t\\t margin: 90px 90px;\\r\\n\\t\\t\\t\\t\\t width: 300px;\\r\\n\\t\\t\\t\\t\\t padding: 30px 25px;\\r\\n\\t\\t\\t\\t\\t background: rgba(255,255,255,0.5);\\r\\n\\t\\t\\t\\t\\t border: 1px solid #c4c4c4;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t.login-input {\\r\\n\\t\\t\\t\\t\\t width: 100%;\\r\\n\\t\\t\\t\\t\\t height: 40px;\\r\\n\\t\\t\\t\\t\\t margin-bottom: 10px;\\r\\n\\t\\t\\t\\t\\t padding-left:10px;\\r\\n\\t\\t\\t\\t\\t font-size: 14px;\\r\\n\\t\\t\\t\\t\\t background: #fff;\\r\\n\\t\\t\\t\\t\\t border: 1px solid #ccc;\\r\\n\\t\\t\\t\\t\\t border-radius: 3px;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t.login-input:focus {\\r\\n\\t\\t\\t\\t\\t\\tborder-color:#6e8095;\\r\\n\\t\\t\\t\\t\\t\\toutline: none;\\r\\n\\t\\t\\t\\t\\t }\\r\\n\\t\\t\\t\\t\\t.login-button {\\r\\n\\t\\t\\t\\t\\t width: 100%;\\r\\n\\t\\t\\t\\t\\t height: 40px;\\r\\n\\t\\t\\t\\t\\t padding: 0;\\r\\n\\t\\t\\t\\t\\t font-size: 14px;\\r\\n\\t\\t\\t\\t\\t color: #fff;\\r\\n\\t\\t\\t\\t\\t text-align: center;\\r\\n\\t\\t\\t\\t\\t background: #000000;\\r\\n\\t\\t\\t\\t\\t border: 0;\\r\\n\\t\\t\\t\\t\\t border-radius: 3px;\\r\\n\\t\\t\\t\\t\\t cursor: pointer; \\r\\n\\t\\t\\t\\t\\t outline:0;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t.login-lost\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t text-align:center;\\r\\n\\t\\t\\t\\t\\t margin-bottom:0px;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t.login-lost a\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t color:#666;\\r\\n\\t\\t\\t\\t\\t text-decoration:none;\\r\\n\\t\\t\\t\\t\\t font-size:11px;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t\\t</style>\\r\\n\\t\\t\\t\\t</head>\\r\\n\\t\\t\\t<body>\\r\\n\\t\\t\\t\\t<p>\\r\\n\\t\\t\\t\\t\\t<form class='login' id='loginForm' action='/cb/login.spr' method='post'>\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t<input id='user' name='user' tabindex='0' type='text' class='login-input' placeholder='User' value=''/>\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t<input id='password' name='password' type='password' class='login-input' placeholder='Password' value='' autocomplete='off'/> \\r\\n\\t\\t\\t\\t\\t\\t\\t\\t<input class='login-button' title='Login' type='submit' value='Login'>\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t<p class='login-lost'><a href='/cb/lostPassword.do'>Forgot Password?</a></p>\\r\\n\\t\\t\\t\\t\\t</form>\\r\\n\\t\\t\\t\\t</p>\\r\\n\\t\\t\\t</body>\\r\\n\\t\\t\\t</html>\\r\\n\\t\\t\\t}]\"} } }" - DEBUG=false ..... Please note that it is recommended to use apostrophe instead of double apostrophe in HTML, also \r, \n, and \t special characters should be escaped MySQL docker imageImage extends the https://github.com/sclorg/mysql-container/tree/master/5.7 image, that is built for OpenShift, changes are [mysqld] character_set_server=utf8 character_set_filesystem=utf8 collation-server=utf8_general_ci init-connect='SET NAMES utf8' init_connect='SET collation_connection = utf8_general_ci' skip-character-set-client-handshake |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server for the purpose of improving the Codebeamer user experience.