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=5432
In 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.sh
or on windows
./scripts/start_server.bat
Visit 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
certs
folder in theflex_config
directory.
- The files should be named
certificate.pem
andprivatekey.pem
.
Note
You will have to restart the application after adding the certificate and key files.
./scripts/restart_server.sh
# or
docker compose down
docker compose up -d
After 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_PORT
in.env
to use port 443.
## -- frontend app setup -- ##
FLEXIT_PORT=443
- Restart the application again.
./scripts/restart_server.sh
# 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 file
To view logs for the FlexIt Backend:
docker logs flexit-content-database # container logs
To stop the application:
./scripts/stop_server.bat
To restart the application:
./scripts/restart_server.bat
- Ensure docker is running:
docker ps
- Review logs:
docker logs flexit-analytics