Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
16348305
Commit
16348305
authored
Dec 12, 2016
by
chirac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update settings_local
parent
e55d3a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
re2o/settings_local.example.py
re2o/settings_local.example.py
+31
-3
No files found.
re2o/settings_local.example.py
View file @
16348305
...
...
@@ -5,7 +5,8 @@ DB_PASSWORD = 'SUPER_SECRET'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
False
ALLOWED_HOSTS
=
[]
# Obligatoire, liste des host autorisés
ALLOWED_HOSTS
=
[
'test.example.org'
]
DATABASES
=
{
'default'
:
{
...
...
@@ -23,10 +24,22 @@ DATABASES = {
}
}
# Security settings
SECURE_CONTENT_TYPE_NOSNIFF
=
True
SECURE_BROWSER_XSS_FILTER
=
True
SESSION_COOKIE_SECURE
=
True
CSRF_COOKIE_SECURE
=
True
CSRF_COOKIE_HTTPONLY
=
True
X_FRAME_OPTIONS
=
'DENY'
SESSION_COOKIE_AGE
=
60
*
60
*
3
# Association information
SITE_NAME
=
"Re2o.rez"
# Main extension used in asso
MAIN_EXTENSION
=
".rez"
LOGO_PATH
=
"static_files/logo.png"
ASSO_NAME
=
"Asso reseau"
ASSO_ADDRESS_LINE1
=
"2, rue Edouard Belin"
...
...
@@ -34,6 +47,7 @@ ASSO_ADDRESS_LINE2 = "57070 Metz"
ASSO_SIRET
=
""
ASSO_EMAIL
=
"tresorier@ecole.fr"
ASSO_PHONE
=
"01 02 03 04 05"
ASSO_PSEUDO
=
"rezo"
services_urls
=
{
#Fill IT : ex : 'gitlab': {
...
...
@@ -50,6 +64,8 @@ REQ_EXPIRE_STR = '48 heures'
# Email `From` field
EMAIL_FROM
=
'www-data@serveur.net'
EMAIL_HOST
=
'smtp.example.org'
# Reglages pour la bdd ldap
LDAP
=
{
'base_user_dn'
:
'cn=Utilisateurs,dc=ldap,dc=example,dc=org'
,
...
...
@@ -68,6 +84,18 @@ GID_RANGES = {
'posix'
:
[
501
,
600
],
}
# Main extension used in asso
MAIN_EXTENSION
=
".rez"
# Affchage des résultats
SEARCH_RESULT
=
15
# Max machines et max alias autorisés par personne
MAX_INTERFACES
=
4
MAX_ALIAS
=
4
# Liste des vlans id disponible sur un switch
VLAN_ID_LIST
=
[
7
,
8
,
42
,
69
]
# Décision radius à prendre
RADIUS_VLAN_DECISION
=
{
'VLAN_NOK'
:
42
,
'VLAN_OK'
:
69
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment