- Add volume cleanup to simple-setup.sh to prevent database password issues - Fix chat API sendStreamingMessage to include Authorization header and userId - Ensure fresh database initialization on every deployment - Chat should now work properly with authentication 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| nginx | ||
| postgres | ||
| scripts | ||
| .env.example | ||
| docker-compose.yml | ||
| Dockerfile.backend | ||
| Dockerfile.frontend | ||
| quick-setup.sh | ||
| README.md | ||
| setup.sh | ||
| simple-setup.sh | ||
Ideas Generator 2025 - Docker Deployment
Complete Docker deployment for Ideas Generator 2025 with automatic database initialization.
Quick Start
-
Clone the repository:
git clone git@bitbucket.org:zlalani/ideas-generator.git cd ideas-generator git checkout docker-deployment cd docker -
Run the simple setup:
chmod +x simple-setup.sh ./simple-setup.sh -
Access your application:
- URL: http://localhost:8083
- Admin Login: admin@oliver.agency / admin123
What Gets Set Up
- ✅ PostgreSQL database with automatic initialization
- ✅ Node.js backend API with authentication
- ✅ Vue.js frontend with modern UI
- ✅ Nginx reverse proxy
- ✅ Admin user created automatically
- ✅ All AI agents seeded and ready to use
Admin Features
Login as admin@oliver.agency to:
- Manage users and access controls
- Configure AI agents and assistants
- View analytics and system health
- Toggle password authentication on/off
- Assign agents to users manually
Requirements
- Docker and Docker Compose installed
- OpenAI API key (you'll be prompted during setup)
- Ports 8083 available (or customize in setup)
Customization
The setup script will ask for:
- Domain name (default: localhost)
- HTTP port (default: 8083)
- OpenAI API key (required)
Advanced configuration can be done by editing the generated .env file.
Architecture
Frontend (Vue.js + Nginx)
↓
Backend (Node.js + Express)
↓
Database (PostgreSQL)
Troubleshooting
Port conflicts: Change the HTTP_PORT in .env file
Database issues: Check docker compose logs database
Backend errors: Check docker compose logs backend
Frontend issues: Check docker compose logs frontend
Reset everything:
docker compose down --volumes
docker system prune -f
./simple-setup.sh
Management Commands
# View status
docker compose ps
# View logs
docker compose logs -f
# Stop services
docker compose down
# Restart services
docker compose restart
# Update and rebuild
git pull origin docker-deployment
docker compose up -d --build
Production Deployment
For production deployment:
- Use a proper domain name
- Set up SSL certificates in
/certsdirectory - Change default admin password
- Configure proper CORS settings
- Set up backup procedures for PostgreSQL data EOF < /dev/null