5.1 KiB
5.1 KiB
Open Productive Stack
Overview
This repository contains a productive stack of open-source applications for team collaboration and communication. The stack includes:
Core Infrastructure
- Traefik: Edge router that handles routing and load balancing for all services
- PostgreSQL: Relational database for applications requiring PostgreSQL
- MariaDB: MySQL-compatible database for applications requiring MySQL
- Adminer: Database management tool for easy database administration
- Mailcow: Complete mail server solution with SMTP, IMAP, antivirus, and webmail
Collaboration Tools
- Nextcloud: Self-hosted file sync and share platform with collaboration features
- OnlyOffice: Online office suite for document editing and collaboration
- OpenProject: Project management and team collaboration software
- HedgeDoc: Collaborative markdown notes editor for team documentation
Web Publishing
- Drupal: Flexible content management system (CMS) for building websites
All components are containerized using Docker for easy deployment, scaling, and management, creating a complete productivity environment for teams.
Requirements
You need docker and with docker compose plugin. You may want to follow the post installation instructions.
At least 6 cores with 16GB RAM 100GB SSD would be sufficent.
Install
Core environment
- Copy the
.example-envto.envand add you settings.
cp core/.example-env core/.env
- Start traefik, mariadb, postgres and adminer with:
docker compose -f core/docker-compose.yml up -d
Drupal
- Copy the
.example-envto.envand add you settings.
cp drupal/.example-env drupal/.env
- Create databse and Drupal root.
drupal/create_infra.bash
- Start Drupal containers.
docker compose -f drupal/docker-compose.yml up -d
Additional steps
You may want to use Redis Caching. 3) add to drupal/sites/default/settings.php:
// Redis Configuration
$settings['redis.connection']['interface'] = 'PhpRedis';
$settings['redis.connection']['host'] = 'redis';
$settings['redis.connection']['port'] = 6379;
$settings['cache']['default'] = 'cache.backend.redis';
$settings['cache']['bins']['bootstrap'] = 'cache.backend.chainedfast';
$settings['cache']['bins']['discovery'] = 'cache.backend.chainedfast';
$settings['cache']['bins']['config'] = 'cache.backend.chainedfast';
- Visit your Domain and install Drupal site.
Gitlab
- Copy the
.example-envto.envand add you settings.
cp gitlab/.example-env gitlab/.env
- Start gitlab.
docker compose -f gitlab/docker-compose.yml up -d
- Get your root password.
sudo docker exec -it gitlab grep 'Password:'
/etc/gitlab/initial_root_password
- Visit you domain and log in.
Hedgedoc
- Copy the
.example-envto.envand add you settings.
cp hedgedoc/.example-env hedgedoc/.env
- Create database and Drupal root.
hedgedoc/create_infra.bash
- Start containers.
docker compose -f hedgedoc/docker-compose.yml up -d
- Add your user.
source hedgedoc/.env
docker exec hedgedoc bin/manage_users --pass ${HEDGEDOC_USER_PASSWORD} --add ${HEDGEDOC_USER_EMAIL}
Mailcow
- Generate config
cd mailcow
./geneare_config.bash
- Copy config to .env
cp mailcow.conf .env
- Start containers.
docker compose docker-compose.yml up -d
-
Visit DOMAIN/admin and log in with admin:admin.
-
Consider the post installation steps, i. e.
watchdog dmarc dkim (You get your dkim key when you registered your email domain in mailcow ui)
OnylOffice
- Copy the
.example-envto.envand add you settings.
cp onlyoffice/.example-env onlyoffice/.env
- Create database and Drupal root.
onlyoffice/create_infra.bash
- Start containers.
docker compose -f onlyoffice/docker-compose.yml up -d
Nextcloud
- Copy the
.example-envto.envand add you settings.
cp nextcloud/.example-env nextcloud/.env
- Create database and Drupal root.
nextcloud/create_infra.bash
- Start containers.
docker compose -f nextcloud/docker-compose.yml up -d
- Visit nextcloud domain and login with your .env credentials.
Openproject
- Copy the
.example-envto.envand add you settings.
cp nextcloud/.example-env nextcloud/.env
- Create database and Drupal root.
hedgedoc/create_infra.bash
- Start containers.
docker compose -f hedgedoc/docker-compose.yml up -d
- Visit openproject domain and login with admin:admin and set new password.
Roadmap
- Tweak the core components and subservices for petter performance
- More automatisation when installinge the environment
- Add more services
- Matrix/Synapse + Element