Sign inSign up

sixphere/elgg-php7

By sixphere

Updated over 7 years ago

Elgg image + PHP7

Image
1

337

sixphere/elgg-php7 repository overview

What is Elgg ?

Elgg is an award-winning open source social networking engine that provides a robust framework on which to build all kinds of social environments, from a campus wide social network for your university, school or college or an internal collaborative platform for your organization through to a brand-building communications tool for your company and its clients.

For more information and related for Elgg, please visit www.elgg.org.

How to use this image

Before you start you need to have installed:

Running multi-container applications with docker-compose
$ docker-compose up -d
Modify Elgg settings
$ cp ELGG_PATH/vendor/elgg/elgg/elgg-config/settings.example.php ELGG_PATH/elgg-config/settings.example.php

Replace ELGG_PATH by the Elgg project path

Follow Elgg installation

Go to ELGG_WWW_ROOT/install.php and follow the installation steps.

Replace ELGG_WWW_ROOT by the Elgg's www_root

Remove installation files

Please, remove the installation files by security.

$ rm ELGG_PATH/install.php
$ rm ELGG_PATH/upgrade.php

Replace ELGG_PATH by the Elgg project path

Environment Variables

When you start the elgg-docker image, you can adjust the configuration of the elgg instance by passing one or more environment variables. The default values are in Dockerfile file.

You can modify the parameters by passing one or more environment variables in file docker-compose.yml

Example:

web:
  image: keviocastro/elgg-docker:2.0
  environment:
    MYSQL_USER: elgg
    MYSQL_PASS: elgg-pass
    ELGG_DISPLAY_NAME: my-name
    ELGG_DB_PREFIX: my-elgg
    TIMEZONE: America/Sao_Paulo
  • TIMEZONE The timezone of the server and php
  • MYSQL_USER The DB username to create
  • MYSQL_PASS The DB password to set on the created user
  • ELGG_DB_HOST The DB host Elgg will use
  • ELGG_DB_USER The DB user Elgg will use
  • ELGG_DB_PASS The DB password Elgg will use
  • ELGG_DB_PREFIX Elgg's DB prefix
  • ELGG_DB_NAME The name of the DB Elgg will use
  • ELGG_SITE_NAME Elgg's site name
  • ELGG_SITE_EMAIL Elgg site email address
  • ELGG_WWW_ROOT Elgg's www_root (Don't change this unless you modify run.sh and the installation)
  • ELGG_DATA_ROOT The data_root for Elgg (/media)
  • ELGG_DISPLAY_NAME The display name for the admin user
  • ELGG_EMAIL The email address for the admin user (must be a well-formed, though not necessarily value, address)
  • ELGG_USERNAME The username of the admin user
  • ELGG_PASSWORD The password for the admin user
  • ELGG_PATH The location Elgg is installed (Don't change this unless you modify run.sh and the installation)
  • ELGG_SITE_ACCESS The default site access

Tag summary

Content type

Image

Digest

Size

270.3 MB

Last updated

about 9 years ago

docker pull sixphere/elgg-php7