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
20 lines
483 B
Bash
20 lines
483 B
Bash
# Node Environment
|
|
NODE_ENV=development
|
|
|
|
# PostgreSQL Configuration
|
|
POSTGRES_USER=lightsaver
|
|
POSTGRES_PASSWORD=lightsaver_dev
|
|
POSTGRES_DB=lightsaver
|
|
DATABASE_URL=postgresql://lightsaver:lightsaver_dev@localhost:5432/lightsaver
|
|
|
|
# RabbitMQ Configuration
|
|
RABBITMQ_USER=lightsaver
|
|
RABBITMQ_PASSWORD=lightsaver_dev
|
|
RABBITMQ_URL=amqp://lightsaver:lightsaver_dev@localhost:5672
|
|
|
|
# API Configuration
|
|
API_PORT=4000
|
|
|
|
# Frontend Configuration
|
|
NEXT_PUBLIC_API_URL=http://localhost:4000/graphql
|