Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
141
Issues
141
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
fe40f925
Commit
fe40f925
authored
Apr 11, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADM] ini file fixed
parent
abdfbed2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
.gitignore
.gitignore
+1
-0
gargantext.ini_toModify
gargantext.ini_toModify
+30
-0
No files found.
.gitignore
View file @
fe40f925
...
...
@@ -24,6 +24,7 @@ deps
_darcs
*.pdf
*.sql
*.ini
# Runtime
...
...
gargantext.ini
→
gargantext.ini
_toModify
View file @
fe40f925
...
...
@@ -6,7 +6,7 @@ MASTER_USER = gargantua
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
%4{Vs(Pc!GU-]@OaAl0)(*4/yERwU<ct`ncV{1)O%32$6q
SECRET_KEY =
PASSWORD_TO_CHANGE
# Space-separated list of hosts
ALLOWED_HOSTS = localhost
# Time-zone, possible values here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
...
...
@@ -16,7 +16,7 @@ DB_HOST = 127.0.0.1
DB_PORT = 5432
DB_NAME = gargandbV5
DB_USER = gargantua
DB_PASS
=
C8kdcUrAQy66U
DB_PASS =
PASSWORD_TO_CHANGE
# Logs
LOG_FILE = /var/log/gargantext/backend/django.log
LOG_LEVEL = DEBUG
...
...
@@ -28,41 +28,3 @@ CELERYD_PID_FILE = /tmp/celery.pid
CELERYD_LOG_FILE = /var/log/gargantext/backend/celery.log
CELERYD_LOG_LEVEL = DEBUG
[uwsgi]
# See: http://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html
# And: http://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html
# Tip from: https://serverfault.com/questions/411361/uwsgi-ini-configuration-for-python-apps
if-env
=
VIRTUAL_ENV
print
=
[uWSGI] launched from virtualenv %(_)
virtualenv
=
%(_)
endif
=
# needed to run uwsgi when it was not installed with pipenv
plugins
=
python35
# needed to run uwsgi outside of pipenv shell, because of this virtualenv bug:
# https://github.com/kennethreitz/pipenv/issues/829
home
=
/home/alexandre/.local/share/virtualenvs/gargantext-ykNZD4Cw
# unix socket is better than TCP one, there is less overhead
socket
=
/tmp/gargantext.sock
chmod-socket
=
664
# user running uwsgi MUST be a member of www-data group
chown-socket
=
%U:www-data
# wsgi django module
module
=
gargantext.backend.wsgi:application
# about master: http://uwsgi-docs.readthedocs.io/en/latest/Management.html?highlight=master#reloading-the-server
master
=
True
# can do: uwsgi --stop /tmp/gargantext.pid
pidfile
=
/tmp/gargantext.pid
# clear environment on exit
vacuum
=
True
max-requests
=
5000
# background the process & log
daemonize
=
/var/log/gargantext/uwsgi/@(exec://date +%%Y-%%m-%%d).log
logfile-chmod
=
644
# one log file per day
log-reopen
=
true
# touch /tmp/gargantext.reload to reload configuration (after git pull for instance)
touch-reload
=
/tmp/gargantext.reload
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