Commit Graph

262 Commits

Author SHA1 Message Date
Felipe Cardoso
bce7a41d78 Add QEMU setup step to Docker build workflow
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 15s
This ensures cross-platform builds by configuring QEMU in the workflow. It improves compatibility for building images targeting multiple architectures.
2025-02-27 16:25:15 +01:00
Felipe Cardoso
ae0015bad2 Add QEMU setup step to Docker build workflow
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 20s
This ensures cross-platform builds by configuring QEMU in the workflow. It improves compatibility for building images targeting multiple architectures.
2025-02-27 16:24:30 +01:00
Felipe Cardoso
8bef4fba45 Update workflow to run on Docker instead of Ubuntu
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 1m6s
Switching the runner to Docker improves consistency and aligns with containerized build environments. This change ensures better compatibility and reduces discrepancies in builds.
2025-02-27 16:18:13 +01:00
Felipe Cardoso
407e93a8c7 Add CI workflow for Docker image build and push
Some checks failed
Build and Push Docker Images / build-and-push (push) Has been cancelled
This workflow automates building and pushing Docker images for the backend and frontend to the Gitea registry. It triggers on `main` branch pushes, tag pushes, or manual dispatch and supports version tagging based on Git references.
2025-02-27 16:12:02 +01:00
Felipe Cardoso
1e9b94ade8 Update Node.js version requirement to 20+ in README
This change updates the Node.js prerequisite from version 18+ to 20+ in the README. It ensures compatibility with the latest features and dependencies of the project.
2025-02-27 16:11:59 +01:00
Felipe Cardoso
b7d60d1f29 Update README with detailed EventSpace project information
Expanded the README to include a comprehensive overview of the EventSpace platform. Added sections on features, setup instructions, technical stack, development guidelines, and privacy notice. This improves clarity for both guests and administrators.
2025-02-27 14:46:17 +01:00
Felipe Cardoso
54d8032798 Add deployment and image push support to Makefile
Introduced a new `deploy` target for deploying services and a `push-images` target for building and pushing Docker images. Added a default `VERSION` and `REGISTRY` variable for streamlined image tagging and registry management. Included a `docker-compose.deploy.yml` file for deployment configuration.
2025-02-27 13:47:13 +01:00
Felipe Cardoso
d283f3a3ed Refactor Docker setup for environment flexibility and dev support
Moved environment variables to .env.template for better management and updated docker-compose files to use them. Added separate docker-compose.dev.yml for development, a Makefile for streamlined commands, and split backend Dockerfile into development and production stages. Updated .gitignore to include new changes.
2025-02-27 13:23:14 +01:00
Felipe Cardoso
03f4792232 Add frontend service to Docker setup and configure networking
Introduced a new `frontend` service in `docker-compose.yml`, complete with build, healthchecks, and networking. Added a multi-stage Dockerfile for the frontend, a `.dockerignore` file, and a startup script to wait for the backend. Updated Next.js configuration for Docker compatibility and added API type definitions.
2025-02-27 12:59:39 +01:00
Felipe Cardoso
3f1e1320f2 Add initial Docker and Alembic setup
Introduce a `docker-compose.yml` to define the services for backend and database with health checks. Add Alembic configurations for database migrations and an initial empty migration. Include backend-related Docker setup with an entrypoint script for database migration execution.
2025-02-27 12:50:44 +01:00
Felipe Cardoso
1d00b092fd Add initial setup for frontend and backend
This commit includes configurations and boilerplate code for both frontend and backend. The frontend uses Next.js with Tailwind CSS, while the backend is built with FastAPI. Various essential files like `tsconfig.json`, `requirements.txt`, and `.gitignore` have been added to kickstart the development process.
2025-02-27 12:50:35 +01:00
Felipe Cardoso
f4c01d9822 Initial commit 2025-02-27 10:11:41 +00:00