Commit graph

21 commits

Author SHA1 Message Date
rjshrjndrn
9e24a3583e feat(nginx): add integrations endpoint with CORS support
Add new /integrations/ location block that proxies requests to
integrations-openreplay:8080 service. Includes proper CORS headers
for cross-origin requests and WebSocket upgrade support.

- Rewrite /integrations/ path to root
- Configure proxy headers for forwarding
- Set connection timeouts for stability
- Add CORS headers for API access

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-06-02 10:55:50 +02:00
rjshrjndrn
08d930f9ff fix(docker-compose): proper volume path #3279
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-04-28 17:28:40 +02:00
rjshrjndrn
f9a3f24590 fix(docker-compose): clickhouse migration
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-04-23 17:52:50 +02:00
rjshrjndrn
85d6d0abac fix(docker-compose): remove shell interpolation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-04-23 17:52:50 +02:00
Rajesh Rajendran
b3594136ce or 1940 upstream docker release with the existing installation (#3316)
* chore(docker): Adding dynamic env generator
* ci(make): Create deployment yamls
* ci(make): Generating docker envs
* change env name structure
* proper env names
* chore(docker): clickhouse
* chore(docker-compose): generate env file format
* chore(docker-compose): Adding docker-compose
* chore(docker-compose): format make
* chore(docker-compose): Update version
* chore(docker-compose): adding new secrets
* ci(make): default target
* ci(Makefile): Update common protocol
* chore(docker-compose): refactor folder structure
* ci(make): rename to docker-envs
* feat(docker): add clickhouse volume definition
Add clickhouse persistent volume to the docker-compose configuration
to ensure data is preserved between container restarts.
* refactor: move env files to docker-envs directory
Updates all environment file references in docker-compose.yaml to use a
consistent directory structure, placing them under the docker-envs/
directory for better organization.
* fix(docker): rename imagestorage to images
 The `imagestorage` service and related environment file
 have been renamed to `images` for clarity and consistency.
 This change reflects the service's purpose of handling
 images.
* feat(docker): introduce docker-compose template
 A new docker-compose template
 to generate docker-compose files from a list of services.
 The template uses helm syntax.
* fix: Properly set FILES variable in Makefile
 The FILES variable was not being set correctly in the
 Makefile due to subshell issues. This commit fixes the
 variable assignment and ensures that the variable is
 accessible in subsequent commands.
* feat: Refactor docker-compose template for local development
 This commit introduces a complete overhaul of the
 docker-compose template, switching from a helm-based
 template to a native docker-compose.yml file. This
 change simplifies local development and makes it easier
 to manage the OpenReplay stack.
 The new template includes services for:
 - PostgreSQL
 - ClickHouse
 - Redis
 - MinIO
 - Nginx
 - Caddy
 It also includes migration jobs for setting up the
 database and MinIO.
* fix(docker-compose): Add fallback empty environment
 Add an empty environment to the docker-compose template to prevent
 errors when the env_file is missing. This ensures that the
 container can start even if the environment file is not present.
* feat(docker): Add domainname and aliases to services
 This change adds the `domainname` and `aliases` attributes to each
 service in the docker-compose.yaml file. This is to ensure that
 the services can communicate with each other using their fully
 qualified domain names. Also adds shared volume and empty
 environment variables.
* update version
* chore(docker): don't pull parallel
* chore(docker-compose): proper pull
* chore(docker-compose): Update db service urls
* fix(docker-compose): clickhouse url
* chore(clickhouse): Adding clickhouse db migration
* chore(docker-compose): Adding clickhouse
* fix(tpl): variable injection
* chore(fix): compose tpl variable rendering
* chore(docker-compose): Allow override pg variable
* chore(helm): remove assist-server
* chore(helm): pg integrations
* chore(nginx): removed services
* chore(docker-compose): Mulitple aliases
* chore(docker-compose): Adding more env vars
* feat(install): Dynamically generate passwords
 dynamic password generation by
 identifying `change_me_*` entries in `common.env` and
 replacing them with random passwords. This enhances
 security and simplifies initial setup.
 The changes include:
 - Replacing hardcoded password replacements with a loop
   that iterates through all `change_me_*` entries.
 - Using `grep` to find all `change_me_*` tokens.
 - Generating a random password for each token.
 - Updating the `common.env` file with the generated
   passwords.
* chore(docker-compose): disable clickhouse password
* fix(docker-compose): clickhouse-migration
* compose: chalice env
* chore(docker-compose): overlay vars
* chore(docker): Adding ch port
* chore(docker-compose): disable clickhouse password
* fix(docker-compose): migration name
* feat(docker): skip specific values
* chore(docker-compose): define namespace
---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-04-23 17:52:50 +02:00
Gabriele Angrisani
102f0c7b06 fix redis volume reference folder (#2805) 2025-03-14 15:34:11 +01:00
Laurenz Glück
8d57cc55a5 fix: updates docker-compose setup to be compatible with v1.21.0 2025-03-14 15:34:11 +01:00
Alexander
c42391c3da feat(integrations): added missing env configuration for docker-compose and helm-chart 2024-12-17 15:06:05 +01:00
Kraiem Taha Yassine
2f693cd490
Dev (#2819)
* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* refactor(chalice): removed sessions insights
refactor(DB): removed sessions insights

* refactor(chalice): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(alerts): upgraded dependencies
feat(chalice): moved CH to FOSS
feat(chalice): use clickhouse-connect
feat(chalice): use CH connexion pool
feat(scripts): defined ch-data-port
2024-12-05 17:43:52 +01:00
Kraiem Taha Yassine
b618d47b38
Dev (#2472)
* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(alerts): upgraded dependencies

* feat(chalice): get top 10 values for autocomplete CH

* refactor(chalice): cleaned code
refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* fix(chalice): fixed Spot new refresh token
refactor(chalice): customizable-Spot-auth
2024-08-08 10:43:36 +02:00
Kraiem Taha Yassine
6f0794b196
Dev (#2469)
* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(alerts): upgraded dependencies

* feat(chalice): get top 10 values for autocomplete CH

* refactor(chalice): cleaned code
refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* feat(chalice): cache autocomplete-top-10 responses
feat(DB): support Spot login

* fix(chalice): fixed Spot new refresh token
2024-08-07 13:42:15 +02:00
Savinien Barbotaud
967b824501 Fix docker compose local network (#1809)
* fix #1502  docker-compose in local network

* fix: docker-compose images versions

* fix CADDY_DOMAIN and chalice env

* add chalice line

* domain name again

* add caddy to common.env

* remove chalice variable is_dns_public to SKIP_H_SSL
2024-01-26 14:30:58 +01:00
rjshrjndrn
f0227d9694 Revert "chore(relase): version updater"
This reverts commit b03b790cd2.
2024-01-22 16:47:53 +01:00
rjshrjndrn
b03b790cd2 chore(relase): version updater 2024-01-22 15:25:10 +01:00
rjshrjndrn
9fe6bbdd5e upgrade: fix scripts 2023-12-13 09:25:47 +01:00
Rajesh Rajendran
5b9e1236d1
docker-compose upgrade (#1769)
* chore(docker-compose): keep the original directory

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* chore(docker-compose): keep user editer common.env backup

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* chore(docker-compose): adding uxtesting missing feat

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* refactor(docker-compose): Adding new services

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* refactor(docker-compose): don't reset the file while running

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* chore(docker-compose): keep db versions unless its overridden explicit

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* docker-compose: proper container names

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* docker-compose: fix profiles

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* docker-compose: upgrade script

* docker-compose: script for migration

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* refactor(docker-compose): spacing for code

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* fix(docker-compose): replace values

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* refactor(docker-compose): Adding db versions section

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* chore(docker-compose): pg migration

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-11 16:23:37 +01:00
rjshrjndrn
67dd118c80 chore(docker-compose): Use docker-compose folder as it's the project
name

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-05 15:07:14 +01:00
rjshrjndrn
6122066b49 fix(docker-compose): branch name
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-05 14:15:53 +01:00
rjshrjndrn
83c677209a chore(docker-compose): Ugrade image version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-04 18:13:36 +01:00
Rajesh Rajendran
a9447d3506 refactor(sourcemapreader): renaming references #1676 (#1678) 2023-11-20 16:15:12 +01:00
Rajesh Rajendran
e0186a73c6 Docker (#1668)
* docker-compose: Adding docker-compose installation

* docker-compose: init scripts

* fix: shell expansion

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-11-20 16:15:06 +01:00