6a8591580d953e6d85bfb854b356b7da8c0889d7
Lotty A/B Platform
Service for managing A/B testing experiments. Drive your tests without breaking user experience!_)
📋 Instructions
Dedicated services setup
Setup with docker compose
Warning
Please note that by default containers will use ports 80 (reverse proxy) and range 14601-14611 (for direct access to containers), so there is must be no listeners on this ports range. You can customize the ports in .env.template.
0. Prerequisites
- Docker (latest version recommended)
- Docker compose (latest version recommended)
- Cloned repository
1. Configuration
- Docker compose configuration files are stored in deploy/compose.
- Configuration files for containers are stored in infrastrucutre/configs.
Env could be customized by creating
.envfile in each service config directory, it will automatically override the default values from.env.template. - Ports on which containers will be accessible are defined in .env.template. This could be customized by creating
.envfile in the root directory and patching the following lines compose you are running:
x-defaults: &defaults
project_directory: ./
env_file:
- ./.env.template
- ./.env # add this
2. Choosing compose configuration
- compose.yaml - default configuration with base services included.
- compose.prod.yaml - configuration for production environment with full observability stack.
3. Running compose configuration
To run the compose configuration, use the following command:
docker compose -f compose.yaml up
# OR
docker compose -f compose.prod.yaml up
Thats it, project is already preconfigured for running, so no changes before running this are required.
Linting and formatting
Described here
Description
Languages
Python
95.8%
Shell
3.4%
JavaScript
0.4%
Just
0.2%
Dockerfile
0.2%