version: '3.8' services: app: build: . ports: - "5000:5000" environment: - NODE_ENV=production - DATABASE_URL=postgresql://postgres:postgres@db:5432/dj_management - SESSION_SECRET=your-super-secret-session-key-here - REPLIT_DOMAINS=localhost - REPL_ID=your-repl-id - ISSUER_URL=https://replit.com/oidc depends_on: - db volumes: - ./uploads:/app/uploads restart: unless-stopped db: image: postgres:15-alpine environment: - POSTGRES_DB=dj_management - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data - ./init.sql:/docker-entrypoint-initdb.d/init.sql restart: unless-stopped volumes: postgres_data: