Add comprehensive Podman configuration for local development: - docker-compose.yml: Main compose file with all services (PostgreSQL, RabbitMQ, API, Frontend) - docker-compose.dev.yml: Development-specific overrides with hot-reload - Dockerfile.api: Backend API service Dockerfile - Dockerfile.frontend: Frontend Next.js service Dockerfile - Updated Dockerfile: Podman-compatible production build with better layer caching - .env.example: Environment variable template - .dockerignore: Exclude unnecessary files from builds - Makefile: Convenient commands for common Podman operations - scripts/db/: Database initialization scripts directory - Updated README.md: Comprehensive Podman setup and usage documentation Features: - Rootless Podman support with SELinux compatibility - Development mode with volume mounts for hot-reload - Health checks for service dependencies - Proper build stage optimization - All services networked together
Database Initialization Scripts
SQL scripts in this directory are automatically executed when the PostgreSQL container is first initialized.
Usage
- Scripts are executed in alphabetical order
- Use numbered prefixes (01-, 02-, etc.) to control execution order
- Place schema definitions in early scripts
- Place seed data in later scripts
Example
01-init.sql- Create extensions and initial schema02-seed.sql- Insert initial data03-indexes.sql- Create indexes
Notes
- These scripts only run on first container creation
- To re-run, you must remove the postgres volume:
make cleanorpodman-compose down -v