Sign inSign up

bololo/agora-project

By bololo

•Updated about 4 hours ago

Unofficial build for Agora-Project (https://github.com/xech/agora-project) based on Alpine

Image
Content management system
0

6.6K

bololo/agora-project repository overview

⁠Agora-Project on Docker

⁠What is Agora-Project?

Create your workspace to communicate with your team: share files, calendars, publish on a newsfeed, make polls, manage tasks, send newsletters, etc. Omnispace is ideal to work easily on a common project.

See the project page⁠ for documentation and a demonstration.

This version is based on latest Alpine with Apache and PHP-FPM.

⁠Supported architectures

Linux x86-64 (amd64), ARM/v7 32-bit (ARM/v7 warning: MariaDB/Mysql docker images don't support it) and ARM/v8 64-bit (arm64v8)

⁠Security concern

You should use a reverse proxy with at least Fail2ban in front of your install, this version has a patched app/Common/Req.php for that:

public static function getCurUrl($urlProtocol=true)
    {
            //Spécifie le protocole dans l'url (vide si affichage simplifié de l'url)
            if($urlProtocol==false)                                 {$urlProtocol=null;}
+++         elseif(!empty($_SERVER['HTTP_X_FORWARDED_PROTO']))      {$urlProtocol=$_SERVER['HTTP_X_FORWARDED_PROTO']."://";}
            elseif(!empty($_SERVER['HTTPS']))                       {$urlProtocol="https://";}
            else                                                    {$urlProtocol="http://";}
+++         //Spécifie le port dans l'url (vide is affichage simplifié de l'url)
+++         if(is_null($urlProtocol))                               {$urlPort=null;}
+++         elseif(!empty($_SERVER['HTTP_X_FORWARDED_PORT']))       {$urlPort=":".$_SERVER['HTTP_X_FORWARDED_PORT'];}
+++         elseif(!empty($_SERVER['SERVER_PORT']))                 {$urlPort=":".$_SERVER['SERVER_PORT'];}
            //Renvoie l'url sans les paramètres ni le dernier "/" (Note : toutes les requêtes passent par "index.php")
+++         return $urlProtocol.$_SERVER['SERVER_NAME'].$urlPort.rtrim(dirname($_SERVER["PHP_SELF"]),'/');
    }

⁠Usage

You can start with this simple docker-compose.yaml file:

services:
  agora:
    image: bololo/agora-project:latest
    ports:
      - "4080:80"
    environment:
      SERVERNAME: <your server name with port>
      UPLOAD_MAX_FILESIZE: "64M"
      LANG: "fr_FR.UTF-8"
      TZ: "Europe/Paris"
    volumes:
      - ./data:/var/www/agora-project/DATAS # persistent data
    links:
      - mariadb

  mariadb:
    image: mariadb:lts
    container_name: mariadb
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: <root password>
      MYSQL_DATABASE: <agora db>
      MYSQL_USER: <agora user>
      MYSQL_PASSWORD: <agora password>
    volumes:
      - ./db:/var/lib/mysql

Once started and ready, you need to connect to the web interface to setup database connection and other settings.

Tag summary

Content type

Image

Digest

sha256:07cf75c0a…

Size

87.7 MB

Last updated

about 4 hours ago

docker pull bololo/agora-project