A comprehensive wiki and knowledge management system designed for IT Managed Service Providers (MSPs) to manage multiple organizations.
Clone the repository
git clone <repository-url>
cd infogarden
Set up environment variables
Create a .env file in the project root with the following variables:
Required:
SECRET_KEY: A random secret key for Flask sessionsENCRYPTION_KEY: A Fernet encryption key (generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")Database Connection (choose one method):
Option 1: Full connection string
DATABASE_URL=mysql+pymysql://user:password@host:port/database
Option 2: Individual components (recommended for Docker)
DB_HOST=localhost # or 'db' when using docker-compose
DB_PORT=3306
DB_USER=infogarden
DB_PASSWORD=your_password
DB_NAME=infogarden
Optional:
FLASK_ENV: Set to production for production deploymentsFLASK_PORT: Port for the web service (default: 5000)BACKUP_ENABLED: Enable/disable automatic backups (default: true)BACKUP_DAY: Day of week for backups (default: sunday)BACKUP_HOUR: Hour for backups (default: 0)BACKUP_MINUTE: Minute for backups (default: 0)BACKUP_RETENTION_DAYS: Days to keep backups (default: 30)Start with Docker Compose
docker-compose up -d
Access the application
For detailed Docker deployment instructions, including running without docker-compose, see DOCKER.md.
infogarden/
├── app/
│ ├── core/ # Core functionality (auth, models, encryption, etc.)
│ ├── modules/ # Feature modules (orgs, users, docs, contacts, passwords, search)
│ ├── templates/ # Jinja2 templates
│ ├── static/ # Static files (CSS, JS, uploads)
│ └── backups/ # Database backups
├── docker-compose.yml
├── Dockerfile
└── requirements.txt
The application uses a modular architecture where each feature module has its own:
models.py: SQLAlchemy modelsroutes.py: Flask route handlerstemplates/modules/<module_name>/Modules are dynamically loaded on application startup.
The system includes automatic migration detection and application on startup. It will:
To run in development mode:
python run.py
[Your License Here]
Content type
Image
Digest
sha256:eef3c9cf7…
Size
229.7 MB
Last updated
10 months ago
docker pull gnubyte/infogarden