Commit graph

54 commits

Author SHA1 Message Date
af477362d2 fix(storefront): update env variables in docker-compose for consistency
Replaced `EVIBES_*` variables with `SCHON_*` to align with naming conventions. Ensures consistent environment variable usage across services.
2026-02-28 00:05:59 +03:00
d5944436ba refactor(docker): rename environment variables for storefront to SCHON
Updated environment variable names from `EVIBES` to `SCHON` in the storefront Dockerfile and docker-compose configuration. Aligns with new naming conventions used across the project for clarity and consistency.
2026-02-27 23:55:09 +03:00
9ae3b4433f Merge branch 'master' into storefront-nuxt 2026-02-05 17:13:57 +03:00
8d8c281eab chore(dependencies): update multidict to 6.7.1 and remove unused celery-prometheus-exporter
Upgrade `multidict` package version to 6.7.1 for compatibility and resolve potential dependency issues. Removed `celery-prometheus-exporter` as it is no longer required.
2026-01-27 20:53:30 +03:00
39b841fcb2 2026.1 2026-01-25 23:16:38 +03:00
43dc556063 Features: 1) Migrate from Jazzmin to django-unfold for admin UI;
Fixes: 1) Remove deprecated Jazzmin configuration and replace with unfold dependencies; 2) Update DRF API title to use new PROJECT_NAME; 3) Fix import order and remove unused imports in core/viewsets.py;

Extra: 1) Add PROJECT_NAME to base settings; 2) Update INSTALLED_APPS to include unfold-related apps; 3) Clean up unused config references.
2025-11-15 01:38:14 +03:00
fb84f1f89b Features: 1) Add Dockerfile for supervisor service; 2) Update docker-compose.yml to include supervisor service;
Fixes: 1) No fixes applied;

Extra: 1) Supervisor service configured with environment variables and custom start script; 2) Uses multi-stage build for optimized runtime; 3) Sets up non-root user for security; 4) Exposes port 7777; 5) Depends on app service; 6) Uses default logging config.
2025-11-15 00:21:30 +03:00
e868ec93d5 Merge branch 'main' into storefront-nuxt 2025-11-13 18:11:58 +03:00
bf6b9f4424 Features: 1) Add backup_task to manage database and media backups; 2) Introduce periodic scheduling for backup_task via Celery Beat;
Fixes: 1) Apply `--omit` filter for test coverage reports to exclude unnecessary files; 2) Replace `services_data` volume mounts with named Docker volumes for consistency and cleanup (e.g., `postgres-data`, `redis-data`);

Extra: 1) Remove `services_data` from `.gitignore`, Docker-related cleanup in uninstall scripts; 2) Simplified related files removal scripts for Unix and Windows; 3) Minor adjustments in documentation comments.
2025-11-13 17:14:00 +03:00
04fa776623 Merge branch 'main' into storefront-nuxt 2025-10-25 02:50:41 +03:00
7a3151e2a1 Features: 1) Add profiles: ["monitoring"] to multiple exporters in docker-compose.yml; 2) Include health check dependency for database service in docker-compose.yml.
Fixes: n/a;

Extra: n/a;
2025-10-25 02:49:39 +03:00
ae1d16edda Features: Move from poetry to uv.
Fixes: Removed naive datetime warning

Extra: Correct import in elasticsearch submodule.
2025-10-25 02:18:41 +03:00
02c402c6de Merge branch 'main' into storefront-nuxt 2025-10-07 15:53:29 +03:00
9e40323823 Features: 1) Update all locale translations for token-related messages; 2) Update all locale translations with read-only Transaction ViewSet description; 3) Update all locale translations for reset password and token validations;
Fixes: 1) Correct line references in locale files for consistency;

Extra: Improve formatting and alignment of string segments for clarity and maintainability;
2025-10-06 15:58:30 +03:00
10626b49d8 Features: 1) None;
Fixes: 1) Corrected `docker-compose.yml` to reference renamed Dockerfiles for `app`, `worker`, `stock_updater`, and `beat`;

Extra: 1) Renamed Dockerfiles to align with consistent naming convention.
2025-09-13 15:15:27 +03:00
a70967db73 Features: 1) Add support for dynamic EVIBES_BASE_DOMAIN and EVIBES_PROJECT_NAME environment variables in storefront Dockerfile.
Fixes: 1) Ensure `NODE_ENV` is consistently removed from Dockerfile and docker-compose.

Extra: 1) Simplify `NODE_ENV` handling in docker-compose configuration.
2025-09-13 15:12:55 +03:00
b68911006b Features: 1) Add Dockerfile for building and running storefront application; 2) Introduce multi-stage build with separation of development and runtime environments; 3) Include environment variable management and non-root user setup;
Fixes: 1) Update dependencies in `package-lock.json` with the latest versions to address compatibility issues;

Extra: 1) Remove unused dependencies and redundant package references from `package-lock.json` for optimization; 2) Improve scripts and permission setups in Dockerfile for clarity and security.
2025-09-13 14:13:26 +03:00
377ea8c45d Features: None;
Fixes: None;

Extra: 1) Remove redundant `depends_on` conditions for `worker` and `stock_updater` in `docker-compose.yml`.
2025-08-05 10:31:45 +03:00
da4b4f6d68 Fixes: 1) Remove unused sysctl configuration for tcp_keepalive_time in Redis service;
Extra: Cleanup `docker-compose.yml` by simplifying Redis health check setup.
2025-07-04 13:00:40 +03:00
118882ac1b Features: 1) Add new make-messages.ps1 and compile-messages.ps1 scripts for Windows localization workflow; 2) Update Docker ENTRYPOINT scripts to use bash for app, worker, stock_updater, and beat containers; 3) Bump project version to 2.9.1 in pyproject.toml and settings;
Fixes: 1) Ensure `install.ps1` handles non-zero exit codes gracefully; 2) Remove redundant `vm.overcommit_memory` Docker sysctl setting; 3) Add explicit exit command to `starter.ps1` for clean terminations;

Extra: Minor formatting and consistency improvements across ENTRYPOINT scripts;
2025-07-03 18:33:37 +03:00
f37206ed4e Features: 1) Add Redis sysctl configurations to docker-compose.yml; 2) Introduce broker heartbeat and transport options for Celery in settings/celery.py.
Fixes: 1) Extract and centralize broker transport options in `settings/celery.py`; 2) Remove redundant Celery settings from `celery.py`.

Extra: 1) Cleanup and streamline Celery configuration in `celery.py`.
2025-07-03 17:14:22 +03:00
81675fc55f Features: 1) Add service_healthy condition for database in docker-compose.yml dependencies; 2) Add payments_transactions field to OrderType GraphQL schema.
Fixes: 1) Add missing imports for `TransactionType` and `Transaction` in `graphene.object_types.py`.

Extra: 1) Update `docker-compose.yml` and GraphQL schema for improved service health checks and payment transaction resolution.
2025-07-02 16:52:59 +03:00
ea92c67373 Features: 1) Add healthcheck for celery worker service in docker-compose; 2) Add dependent services with healthcheck conditions for beat.
Fixes: n/a;

Extra: n/a;
2025-07-02 01:34:08 +03:00
946a3e3de6 Features: 1) Added TIME_ZONE environment variable to docker-compose.yml, Unix, and Windows environment file generation scripts for improved time zone configuration;
Fixes: 1) None;

Extra: 1) Removed redundant `[tool.yapf]` section in `pyproject.toml` to clean up formatting; 2) Adjusted spacing for better readability in Windows script prompts;
2025-07-02 01:17:17 +03:00
658eedb40c Features: 1) Update stock_updater service to use Dockerfile.stock_updater.
Fixes: n/a;

Extra: 1) Remove outdated healthcheck from `stock_updater` service.
2025-07-02 01:01:07 +03:00
92813938fd Features: 1) Add stock_updater service to docker-compose.yml with health checks and logging; 2) Introduce Dockerfile.stock_updater for stock_updater service with dependencies and entrypoint; 3) Add stock-updater-entrypoint.sh script for Celery worker initialization; 4) Specify stock_updater queue in Celery task configuration;
Fixes: 1) Update Celery worker configuration in `worker-entrypoint.sh` to optimize worker pool and task limits;

Extra: Refactor `docker-compose.yml` and scripts for improved service management.
2025-07-01 22:52:55 +03:00
b0aa8e0906 Features: 1) Add auto_refresh attribute to Elasticsearch documents with default False;
Fixes: None;

Extra: 1) Remove unused healthcheck configuration from `docker-compose.yml`.
2025-06-22 23:37:57 +03:00
30326042b5 Fixes: 1) Removed unused health check dependency for the app service in docker-compose.yml. 2025-06-22 15:28:08 +03:00
eb07ca381e Fixes: 1) Update healthcheck to include 'Accept: application/json' header in curl command;
Extra: None;
2025-06-22 15:21:00 +03:00
b28d6f1407 Features: 1) Add Windows PowerShell script for database and media backups;
Fixes: 1) Correct health check URL syntax in `docker-compose.yml`;

Extra: N/A;
2025-06-22 15:03:43 +03:00
ad41718d09 Fixes: 1) Update healthcheck URL path in docker-compose.yml to correct endpoint.
Extra: N/A;
2025-06-22 14:55:13 +03:00
328ccaa615 Features: 1) 2.8.9 update
Fixes: 1) wtf go read diff;

Extra: ???
2025-06-18 15:05:58 +03:00
b105561c10 Features: 1) Simplify Docker configuration by renaming Dockerfile.app to Dockerfile; 2) Add commented setup for storefront and nginx services in docker-compose.yml;
Fixes: 1) Correct `.dockerignore` entry for the relocated `storefront/Dockerfile`;

Extra: 1) Refactor file structure by renaming `Dockerfile.storefront` to `storefront/Dockerfile`.
2025-06-17 12:39:03 +03:00
1e8d053ab6 Features: 1) OS-specific scripts for deployments.
2) Healthcheck improvements.
Fixes: merge_recently_viewed for UserViewSet
2025-06-11 02:54:46 +03:00
3b9b69a409 Features:
1) CategoryTag migration
2) docker-compose.yml healthchecks
2025-06-10 06:08:50 +03:00
867c4d919b 2.8.0 released 2025-06-05 20:47:30 +03:00
bbe44303c7 Features: Prometheus for celery workers 2025-06-05 19:39:29 +03:00
5b2c642afc Features: Prometheus for celery workers 2025-06-05 19:36:57 +03:00
3c21f9f386 Fixes: tryout without command code aligning 2025-06-05 17:45:15 +03:00
4163606f0c Features: Prometheus password protection #2 2025-06-05 15:39:48 +03:00
30ac2ce0e5 Features: Prometheus password protection 2025-06-05 15:34:59 +03:00
a2d38cbdfb Features: Prometheus added 2025-06-05 15:16:59 +03:00
1219067721 Features:
Fixes:

Extra: 1) Correct build key order in docker-compose.yml for app, worker, beat, and flower services;
2025-05-26 16:03:01 +03:00
165f7be0ae Features: 1) Add support for specifying build context in all service definitions of docker-compose.yml;
Fixes: 1) Correct build key structure for Dockerfile definitions across services;

Extra: Code cleanup for consistency in unused storefront service comments;
2025-05-26 15:59:49 +03:00
83b86a81f4 Features: 1) Expand .gitignore to include comprehensive rules for Python, Node, Docker, IDEs, test artifacts, and distribution files;
Fixes: None;

Extra: 1) Add comments and structure to `.gitignore` for improved readability and maintainability; 2) Update placeholder comments in `docker-compose.yml` for future services.
2025-05-26 15:40:14 +03:00
8961029176 Features: 1) Add Dockerfile.app with author label for application container; 2) Add CODEOWNERS file for ownership management; 3) Introduce Dockerfile.storefront for storefront container; 4) Add .gitkeep file for storefront folder;
Fixes: 1) Update `docker-compose.yml` to use `Dockerfile.app` instead of default build context;

Extra: 1) Add commented-out `storefront` service in `docker-compose.yml` for potential future use; 2) Minor cleanup and structuring of Docker setup;
2025-05-26 15:34:45 +03:00
60240d4cd9 Features:
1) Extend worker task time limits (soft: 10800 seconds, hard: 21600 seconds);

Fixes:
(none);

Extra:
1) Update `docker-compose.yml` to reflect new task time limits in Celery command;
2025-05-09 04:19:13 +03:00
6c04faf97b Simplify Celery command formatting in docker-compose.yml
Consolidate the Celery worker command into a single line for improved readability and maintainability. This change reduces unnecessary line breaks without altering functionality.
2025-05-07 04:12:35 +03:00
1db400be6f Refactor celery command formatting in docker-compose.yml
Updated the Celery worker command in docker-compose.yml for better readability and consistency using line continuation characters. Ensured no functional changes were introduced during the formatting update.
2025-05-07 04:08:36 +03:00
131258517f Adjust Celery task time limits in configuration.
Increased `task_soft_time_limit` to 7200 seconds and `task_time_limit` to 10800 seconds in both `celery.py` and `docker-compose.yml`. This change allows longer-running tasks to complete without premature termination.
2025-05-06 16:39:21 +03:00