Commit Graph

68 Commits

Author SHA1 Message Date
Chamika J
907075f51d Merge pull request #95 from chamikaJ/fix/docker-compose-fix
Refactor Dockerfile to streamline environment configuration
2025-04-28 22:05:21 +05:30
chamiakJ
b48ac45085 Refactor Dockerfile to streamline environment configuration
- Introduced a new env-config.sh script to handle runtime environment variable updates for VITE_API_URL and VITE_SOCKET_URL.
- Updated start.sh to execute env-config.sh, improving script organization and clarity.
- Enhanced the overall structure of the Dockerfile for better maintainability.
2025-04-28 22:04:00 +05:30
Chamika J
b115d0a772 Merge pull request #94 from chamikaJ/fix/docker-compose-fix
Enhance startup scripts with environment update checks and service UR…
2025-04-28 21:56:04 +05:30
chamiakJ
ad0cdfe1d9 Enhance startup scripts with environment update checks and service URL clarity
- Added checks for the existence of the update-docker-env.sh script in both start.bat and start.sh, providing guidance for updating environment variables.
- Removed legacy .env file checks from both scripts to streamline the startup process.
- Updated service URL outputs to clarify SSL options for both frontend and backend services.
- Improved user instructions for stopping services and updating environment variables.
2025-04-28 21:54:31 +05:30
Chamika J
db4240d99b Merge pull request #92 from chamikaJ/fix/docker-compose-fix
Enhance backend API with health check endpoint and update environment…
2025-04-28 16:28:01 +05:30
chamiakJ
bf1d48709c Enhance backend API with health check endpoint and update environment script
- Added a new health check endpoint to the public router in index.ts, returning a simple status response.
- Updated update-docker-env.sh to include the MinIO Dashboard URL in the environment configuration and output messages.
2025-04-28 16:22:54 +05:30
Chamika J
c3c0c288a8 Merge pull request #91 from chamikaJ/fix/docker-compose-fix
Refactor start.sh script creation in Dockerfile
2025-04-28 15:40:07 +05:30
chamiakJ
79e8bb3734 Refactor start.sh script creation in Dockerfile
- Updated the Dockerfile to create the start.sh script in a more structured manner, improving readability and maintainability.
- Ensured that the script dynamically updates env-config.js with runtime environment variables for API and WebSocket URLs.
2025-04-28 15:36:52 +05:30
Chamika J
a6884440a0 Merge pull request #90 from chamikaJ/fix/docker-compose-fix
Refactor frontend service configuration in docker-compose.yml
2025-04-28 15:22:39 +05:30
chamiakJ
b9e5f396fd Refactor frontend service configuration in docker-compose.yml
- Changed the frontend service to build from a local context instead of using a pre-built image.
- Specified the Dockerfile for the frontend build process.
2025-04-28 15:20:39 +05:30
Chamika J
fc40ebcaba Merge pull request #89 from chamikaJ/fix/docker-compose-fix
Enhance environment configuration for frontend and CORS support
2025-04-28 13:04:16 +05:30
chamiakJ
54642037d3 Enhance environment configuration for frontend and CORS support
- Updated update-docker-env.sh to define FRONTEND_URL and streamline CORS settings.
- Modified app.ts to include SERVER_CORS and FRONTEND_URL in allowed origins for both production and development environments.
- Improved output messages in update-docker-env.sh to provide clearer information on URLs and CORS configuration.
2025-04-28 13:02:29 +05:30
Chamika J
0778089ff3 Merge pull request #88 from chamikaJ/fix/docker-compose-fix
Remove legacy environment files and update Docker configuration for e…
2025-04-28 12:44:15 +05:30
chamiakJ
ac2afd6949 Remove legacy environment files and update Docker configuration for environment management
- Deleted .env and .env.example files to streamline environment variable management.
- Updated docker-compose.yml to utilize env_file for frontend and backend services.
- Enhanced update-docker-env.sh to create separate environment files for development and production.
- Revised README.md to reflect the new environment file structure and setup instructions.
2025-04-28 12:37:41 +05:30
Chamika J
8162ce65cb Merge pull request #87 from chamikaJ/fix/docker-compose-fix
Enhance WebSocket support and update environment configuration
2025-04-28 11:43:52 +05:30
chamiakJ
6e4bdea1c2 Enhance WebSocket support and update environment configuration
- Added VITE_SOCKET_URL to docker-compose.yml for WebSocket connection.
- Updated update-docker-env.sh to handle SSL options for WebSocket URLs.
- Modified Dockerfile to include VITE_SOCKET_URL in env-config.js.
- Implemented getSocketUrl function in frontend to retrieve WebSocket URL.
- Refactored socket configuration to use centralized socket URL from environment settings.
2025-04-28 11:43:16 +05:30
Chamika J
daf8ec2e0a Merge pull request #86 from chamikaJ/fix/docker-compose-fix
Fix/docker compose fix
2025-04-28 11:37:14 +05:30
chamiakJ
2a3ae31e4e Enhance Docker deployment with environment variable configuration
- Added environment variable setup in docker-compose.yml for VITE_API_URL.
- Introduced update-docker-env.sh script to create/update .env file for local and remote deployments.
- Updated Dockerfile to dynamically create env-config.js during build.
- Modified frontend to load environment configuration from env-config.js.
- Refactored API client to use centralized config for API URL.
2025-04-28 11:32:44 +05:30
chamikaJ
9c27c41a5e Add script to inject environment variables in Dockerfile
- Created a start.sh script to set environment variables for the application.
- Updated CMD to execute the new script instead of directly serving the build.
2025-04-25 16:42:45 +05:30
chamikaJ
a328da679c Update docker-compose.yml to use bind mount for database initialization and add script execution for dos2unix; modify CORS origin check in app.ts for production environment 2025-04-25 12:30:15 +05:30
Chamika J
122496513b Merge pull request #82 from chamikaJ/fix/socket-event-not-updating
Refactor socket session user structure and update user ID retrieval
2025-04-22 21:21:23 +05:30
chamiakJ
7363c4c692 Refactor socket session user structure and update user ID retrieval
- Changed the user structure in ISocketSession to include an object with an 'id' property.
- Updated the getLoggedInUserIdFromSocket function to return the user ID directly from the new structure.
2025-04-22 21:19:13 +05:30
Chamika J
012e683240 Merge pull request #80 from chamikaJ/react-version
Update security contact email in README.md
2025-04-21 22:11:09 +05:30
chamiakJ
b3a37df4be Update security contact email in README.md 2025-04-21 22:10:41 +05:30
Chamika J
cb94b19e61 Merge pull request #79 from chamikaJ/react-version
Update README.md and scripts for improved setup and service management
2025-04-21 20:56:40 +05:30
chamiakJ
50c4f1a6ac Update README.md and scripts for improved setup and service management
- Changed repository URLs in README.md for consistency.
- Enhanced start.sh with a service health check function to verify if services are running and responding.
- Improved output messages in start.sh and stop.sh for better user experience.
- Added checks for port conflicts and ensured proper stopping of services in stop.sh.
2025-04-21 20:54:50 +05:30
Chamika J
1d02313585 Merge pull request #77 from chamikaJ/react-version
Comment out project template functions in SQL script to prevent execu…
v2.0.0
2025-04-21 10:53:52 +05:30
chamiakJ
04ffc049b0 Comment out project template functions in SQL script to prevent execution during database initialization 2025-04-21 09:15:16 +05:30
Chamika J
ca3db02ce8 Merge pull request #76 from chamikaJ/react-version
React version
2025-04-21 08:00:20 +05:30
chamiakJ
ad7c2b20a2 Update README.md and .env.example for Node.js version and redirect URLs
- Updated Node.js version requirement in README.md to v18 or newer.
- Modified .env.example to change Google callback and redirect URLs for consistency in authentication flow.
2025-04-21 07:43:35 +05:30
chamiakJ
89e39520ba Update README.md and .env.template for improved clarity and configuration
- Enhanced README.md with a new header, centered links, and an updated project description.
- Modified .env.template to change Google callback and redirect URLs for consistency in authentication flow.
2025-04-21 07:43:17 +05:30
chamiakJ
6efaeb3ff6 Enhance database schema and functions
- Added 'PHASE' value to the WL_TASK_LIST_COL_KEY enum type.
- Introduced sys_insert_license_types function to populate license types in the database.
- Updated sys_insert_project_templates function to include a new project template and adjusted associated task statuses.
- Modified organization insertion logic to set a longer trial period and change subscription status to 'active' for self-hosted licenses.
2025-04-21 00:12:10 +05:30
chamikaJ
e42819ef64 Update environment configuration, Docker setup, and frontend/backend dependencies
- Updated .env.example and .env files for backend and frontend with placeholder values.
- Enhanced .gitignore to include additional files and directories.
- Modified docker-compose.yml to change image names and improve service health checks.
- Updated README.md and SETUP_THE_PROJECT.md for clearer setup instructions.
- Added database initialization scripts and SQL files for structured database setup.
- Updated frontend Dockerfile to use Node.js 22 and adjusted package.json scripts.
- Improved error handling and logging in start scripts for better debugging.
- Added reCAPTCHA support in the signup page with conditional loading based on environment variables.
2025-04-18 17:10:56 +05:30
chamikaJ
8825b0410a init 2025-04-17 18:28:54 +05:30
Danushka Katubulla
f583291d8a Update README.md
Fixed broken links
angular-version-legacy
2025-02-11 11:14:40 +05:30
Chamika J
03c0068991 Merge pull request #60 from kithmina1999/add-docker-networks
adding network configuration to docker-compose file
2024-12-31 11:08:04 +05:30
kithmina1999
2fb47c4c1d adding network configuration to docker-compose file 2024-12-30 15:55:39 +05:30
Chamika J
136dd5c42f Merge pull request #54 from thewulf7/docker-patch-1
Fixing docker image for backend service and grouping them in network
2024-10-25 16:57:25 +05:30
Evgenii Utkin
276d24143d Fixing docker image for backend service and grouping them in network 2024-10-15 22:52:49 +02:00
Chamika J
a8e9ad68bf Merge pull request #51 from Worklenz/development
Development
2024-09-30 15:28:35 +05:30
Chamika J
12c04d0798 Merge pull request #50 from Worklenz/feature/selfhosting-tiny-editor
feat(editor): add self-hosted TinyMCE editor and remove API key
2024-09-30 15:27:20 +05:30
chamikaJ
eb39dc363f feat(editor): add self-hosted TinyMCE editor and remove API key 2024-06-17 11:37:12 +05:30
Chamika J
5cce1f2d2c Merge pull request #29 from TheZoker/add-workflow
Add workflow to pre-build docker images
2024-06-04 11:18:42 +05:30
Florian Gareis
1b669f76b8 Add images to compose file 2024-06-02 22:04:47 +00:00
Florian Gareis
a6b6eca4d9 Add github docker image build workflow 2024-06-02 22:04:35 +00:00
Chamika J
ff80672d15 Merge pull request #20 from gdevenyi/fix-docker-compose
Fix docker-compose
v1.0.1
2024-05-31 11:05:44 +05:30
Gabriel A. Devenyi
d0235ed27a Fix Docker file for backend so webserver properly listens and proxies connections 2024-05-23 15:07:55 -04:00
Gabriel A. Devenyi
c3fe4a7f9e Add missed env variables in docker-compose 2024-05-23 14:58:40 -04:00
Gabriel A. Devenyi
01fa40d96e Add frontend dependency on backend being started 2024-05-23 14:30:17 -04:00
Gabriel A. Devenyi
3f1fcf50ab Fix database container to use existing environment variables. 2024-05-23 14:26:24 -04:00