-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/docker image for rc versions and php version as param (#23)
* PHP version and Galette version can now be provided as parameters. Galette RC-versions and other pre-releases can now be baked into a Docker image * Updated the contributing text * Updated advanced configuration documentation * updated advanced configuration description * Updated description and docker-compose files to the new config-folder setup. * building docker image using dev-versions of galette plugins * Upgrade to version 1.1.0 and plugin versions 2.1.0
- Loading branch information
Showing
6 changed files
with
135 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,42 @@ | ||
<?php | ||
//change this *ONLY* for debug purposes! | ||
//define('GALETTE_DISPLAY_ERRORS', true); | ||
|
||
/* Per default, Galette will create session with default lifetime duration (and it seems | ||
browsers acts differently in this case). You can anyways define a constant named | ||
GALETTE_TIMEOUT to change session lifetime using behavior configuration: | ||
- see https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime | ||
*/ | ||
//define('GALETTE_TIMEOUT', 0); | ||
|
||
/* Uncomment and tune to read user IP addresses from the X-Forwarded-For header | ||
* | ||
* This is for applications sitting behind one or several proxies. | ||
* | ||
* Don't uncomment if the application doesn't sit behind a proxy, as it would | ||
* allow potential attackers to replace their IP addresses with anything, | ||
* increasing a bit their stealth (IP address don't mean that much anyway) | ||
* | ||
* Typically each proxy will append its client's IP address to this header | ||
* The value is used the index of the IP address to consider, from the end | ||
* of the header values, starting with 1. | ||
* | ||
* Hence the provided example is the simplest suitable for being behind | ||
* a single reverse proxy | ||
This is for applications sitting behind one or several proxies. | ||
Don't uncomment if the application doesn't sit behind a proxy, as it would | ||
allow potential attackers to replace their IP addresses with anything, | ||
increasing a bit their stealth (IP address don't mean that much anyway) | ||
Typically each proxy will append its client's IP address to this header | ||
The value is used the index of the IP address to consider, from the end | ||
of the header values, starting with 1. | ||
Hence the provided example is the simplest suitable for being behind | ||
a single reverse proxy | ||
*/ | ||
//define('GALETTE_X_FORWARDED_FOR_INDEX', 1); | ||
|
||
|
||
/* Several modes are provided in Galette you can configure with GALETTE_MODE | ||
constant (see Galette behavior configuration). This directive can take the | ||
following values: | ||
PROD: production mode (non production instance should be on an other mode). | ||
This is the default mode for releases, but it may change in development | ||
branch. | ||
DEMO: demonstration mode, the same as PROD but with some features disabled | ||
like sending emails, modifying superadmin data, ... | ||
TEST: reserved for unit tests. | ||
MAINT: maintainance mode. Only super admin will be able to login. | ||
*/ | ||
//define('GALETTE_MODE', 'PROD'); | ||
|
||
/*change this *ONLY* for debug purposes! | ||
*/ | ||
//define('GALETTE_DEBUG', true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.