Commit Graph

3 Commits

Author SHA1 Message Date
MUIS1436
42841bcd83 chore(docker): update ports and switch frontend to serve static files
- Change frontend port from 80 to 8847 and backend port from 3001 to 9173 in .env.example
- Replace nginx stage in frontend Dockerfile with node alpine and serve for static hosting
- Remove nginx.conf and related configuration for frontend static serving
- Update docker-compose ports and healthcheck URLs to match new port assignments
- Adjust server Dockerfile to expose new backend port 9173 and update healthcheck URL
- Create non-root user in frontend Dockerfile and run serve command on port 8847
- Update healthcheck commands to use wget on new ports for both frontend and backend
2026-01-31 11:26:19 +05:00
MUIS1436
ab10baf983 chore(docker): optimize Dockerfiles and add healthchecks for Coolify deployment
- Add build arguments and environment variables for OAuth client IDs in frontend Dockerfile
- Install wget and add HEALTHCHECK commands to frontend and backend Dockerfiles
- Create non-root user in backend Dockerfile for improved security
- Update docker-compose.yml with healthcheck configurations and dynamic port/environment variable support
- Add network configuration and restart policies to docker-compose services
- Expand .env.example with additional OAuth secrets, ports, and environment variables for Coolify
- Enhance README.md with detailed Coolify deployment instructions and required environment variables table
2026-01-31 11:06:16 +05:00
MUIS1436
d5cb1ded3e chore(docker): add Dockerfiles and docker-compose for frontend and backend
- Add frontend Dockerfile with multi-stage build using node and nginx
- Add backend Dockerfile with multi-stage build to compile and serve app
- Add docker-compose.yml to define frontend and backend services with environment variables
- Configure nginx to serve SPA, enable gzip compression and caching for static assets
- Set up nginx reverse proxy for API requests to backend service on /api path
2026-01-31 10:03:30 +05:00