Commit Graph

4 Commits

Author SHA1 Message Date
Nate Kelley a4a03acb42
Pass env to dockerfiles 2025-01-08 14:03:27 -07:00
dal 73822945bf Refactor Docker Compose and API for enhanced functionality and migration support
- Simplified the API service build configuration in `docker-compose.yml` by consolidating the build context and Dockerfile path.
- Added `diesel_migrations` dependency to `Cargo.toml` for database migration management.
- Implemented database migration logic in `main.rs`, including error handling and logging for migration success or failure.
- Introduced a new mail service in `supabase/docker-compose.yml` for handling SMTP, POP3, and web interface.
- Removed version specification from `supabase/dev/docker-compose.dev.yml` for cleaner configuration.

These changes improve the overall structure and functionality of the application, facilitating better database management and service orchestration.
2025-01-07 22:21:28 -07:00
dal bb8fd621c9 Update .env.example to change SITE_URL and STUDIO_PORT for local development
- Modified SITE_URL from http://localhost:3000 to http://localhost:3003 to reflect the new local server configuration.
- Updated STUDIO_PORT from 3000 to 3003 to align with the updated local development environment.

These changes ensure consistency in the local development setup and prevent port conflicts.
2025-01-07 16:40:08 -07:00
dal fb77e66fe6 Refactor Docker Compose setup and improve REST router configuration
- Updated `docker-compose.yml` to streamline environment variable management using `.env`.
- Temporarily disabled the `postgres` service for cleaner development.
- Enhanced the `rest` service configuration for better integration with Nessie, including updated image and port mappings.
- Cleaned up unused imports in `post_datasets.rs` to improve code readability.

These changes enhance the development environment and prepare for future integrations.
2025-01-07 14:59:54 -07:00