CCM
About
This the ready to run immage of the CCM System
Source code: Github - CCM
License: MIT
Use
To use the system please use:
docker pull ffquintella/ccm:<<version>>
docker run -p 443:443 ffquintella/ccm:<<version>>
Copy
Ports
We recomend only port 443 to be used
Configs
To configure we use the following enviroment variables
FACTER_TIMEZONE - Stablish the container timezone; default: 'America/Sao_Paulo'
FACTER_LOG_LEVEL - Application logs; default: 'DEBUG'
FACTER_SESSION_TIME - Default php session timeoutin seconds; default: 600
FACTER_SMTP_SERVER - The smtp server;
FACTER_EMAIL_FROM - The email from field;
FACTER_EMAIL_FROM_NAME -The email form name; default: 'CCM SERVER'
FACTER_HTTP_TIMEOUT - The nginx timeout in seconds; default: 15
FACTER_PHP_TIMEOUT - The php execute tiemout in seconds; default:300
FACTER_HTTPS_REQUIRED - If this is true only https will be accepted (RECOMENDED); default: false
FACTER_AUTHENTICATION_REQUIRED - Only use false for very specific tests; default true
FACTER_PASS_SIZE 25
FACTER_USER_PASS_SIZE 15
FACTER_APP_KEY_SIZE 32
FACTER_CACHE_TIMEOUT 1200
FACTER_CACHE_DNS_TIMEOUT 600
FACTER_REDIS_SERVER - The fqdn or ip of the redis server;
FACTER_REDIS_PORT - Redis port; default: 6379
FACTER_REDIS_DATABASE - Redis database; default:1
Security
The container commes with a self signed certificate but for anything more serious then a test you will need to replace the certificates on
/etc/pki/tls/certs/ccm_server.crt and /etc/pki/tls/private/ccm_server.key
Database Setup
When running the system for the first time you must have a redis database ready and after starting the container you must edit and execute the file /scripts/initSharedSotrageProd.php