This repository provides everything needed to deploy FlexIt using Docker. FlexIt is a highly powerful and flexible business intelligence and data transformation tool.
The repo's .env file defines project-level variables. Should you need to update ports or install versions, you can edit them there. Otherwise keep the defaults.
## -- frontend app setup -- ##
FLEXIT_PORT=3030
FLEXIT_VERSION=latest
## -- backend db setup -- ##
CONTENT_DB_VERSION=latest
DB_PORT=5432In an administrator powershell session, run .\install.cmd.
This will install the needed software and allow you to configure the backend credentials.
The application will automatically start after this script is complete. You may need to reboot the server if docker was not previously installed.
call the below start script to start the application
./scripts/start_server.batVisit the application at:
- First Install:
http://localhost:<FLEXIT_PORT> - After Optionally Configuring SSL (below):
https://DNS_NAME
- Provide a certificate and key file. These files should be placed in a
certsfolder in theflex_configdirectory.
- The files should be named
certificate.pemandprivatekey.pem.
Note
You will have to restart the application after adding the certificate and key files.
./scripts/restart_server.ps1
# or
docker-compose down
docker-compose up -dAfter restarting the server, an administrator can navigate to Configuration > Server Settings and add the Host Name, as well as change the port to 443 and enable ssl.
- Update the
FLEXIT_PORTin.envto use port 443.
## -- frontend app setup -- ##
FLEXIT_PORT=443- Restart the application again.
./scripts/restart_server.ps1
# or
docker-compose down
docker-compose up -d- Access the application at
https://<dns_name_in_settings>.
To view logs for the FlexIt Frontend:
docker logs flexit-analytics # container logs
docker exec -it flexit-analytics sh -c 'tail -f $(ls -t /opt/flexit/logs/flexit_*.log | head -n 1)' # most recent application log fileTo view logs for the FlexIt Backend:
docker logs flexit-content-database # container logsTo stop the application:
./scripts/stop_server.batTo restart the application:
./scripts/restart_server.bat- Ensure docker is running:
docker ps
- Review logs:
docker logs flexit-analytics

