Sign inSign up

neuromat/nes

By neuromat

•Updated almost 5 years ago

Neuroscience Experiments System - NES

Image
1

4.7K

neuromat/nes repository overview

⁠NES/LimeSurvey Docker

Dockerfile to build a monolithic container of NES⁠ with PostgreSQL⁠ and LimeSurvey⁠.

The integration and deployment of the services is handled by Supervisor⁠.

⁠Build Arguments

The build arguments can be organized in the following groups:

⁠PostgreSQL

ParameterDescription
PGDATADirectory where PostgreSQL stores its files

⁠LimeSurvey

ParameterDescription
LIMESURVEY_URL_DOWNLOADURL to be used to install a specific LimeSurvey version
LIMESURVEY_DIRDirectory where LimeSurvey will be installed

⁠NES

ParameterDescription
NES_TAGNES release tag to be installed
NES_BRANCHNES git branch to be installed
NES_DIRDirectory where NES will be installed

⁠Environment variables

The environment variables can be organized in the following groups:

⁠PostgreSQL

ParameterDescription
PGDATADirectory where PostgreSQL stores its files

⁠LimeSurvey

⁠SYSTEM OPTIONS
ParameterDescription
LIMESURVEY_HOSTHost where LimeSurvey is installed. (default is localhost)
LIMESURVEY_PORTLimeSurvey port to be used by Apache.
⁠CONFIG.PHP OPTIONS
ParameterDescription
LIMESURVEY_DB_HOSTDatabase server hostname. (default is localhost)
LIMESURVEY_DB_PORTDatabase server port.
LIMESURVEY_DBDatabase name.
LIMESURVEY_DB_TABLE_PREFIXDatabase table prefix.
LIMESURVEY_DB_USERDatabase user.
LIMESURVEY_DB_PASSWORDDatabase password.
LIMESURVEY_DB_CHARSETDatabase charset to be used.
LIMESURVEY_URL_FORMATURL Format. path or get.
⁠SUPER USER CREATION OPTION
ParameterDescription
LIMESURVEY_ADMIN_USERLimeSurvey Admin User.
LIMESURVEY_ADMIN_NAMELimeSurvey Admin Username.
LIMESURVEY_ADMIN_EMAILLimeSurvey Admin Email.
LIMESURVEY_ADMIN_PASSWORDLimeSurvey Admin Password.

⁠NES

⁠SETTINGS_LOCAL OPTIONS
⁠DJANGO
ParameterDescription
NES_SECRET_KEYNES Secret Key for Django deployment.
NES_ADMIN_USERNES Admin User.
NES_ADMIN_EMAILNES Admin Email.
NES_ADMIN_PASSWORDNES Admin Password.
NES_IPNES IP address to be user by Django.
NES_PORTNES port to be user by Django.
⁠DB
ParameterDescription
NES_DB_HOSTDatabase server hostname. (default is localhost)
NES_DBDatabase name.
NES_DB_PORTDatabase server port.
NES_DB_USERDatabase user.
NES_DB_PASSWORDDatabase user's password.
⁠LimeSurvey JSON-RPC interface

these are the same variables set for LimeSurvey

ParameterDescription
LIMESURVEY_HOSTHost where LimeSurvey is installed. (default is localhost)
LIMESURVEY_PORTLimeSurvey port to be used by Apache.
LIMESURVEY_ADMIN_USERLimeSurvey Admin User.
LIMESURVEY_ADMIN_PASSWORDLimeSurvey Admin Password.

⁠Supervisor

ParameterDescription
SUPERVISOR_CONF_DIRDirectory where Supervisor configuration is stored

⁠References

⁠TO-DO

  • Split the database in two, each serving a different system (nes/limesurvey);
  • :warning: Load ICD data :warning:;
  • Integrate this repo with the DockerHub for continuous integration;
  • Make a deploy version with NES on Apache setup;
  • Make the actual template a test version;
  • Make NES deployable with different SQL databases and integrate it with docker;
  • Make different deploy templates with other webserver (nginx);

Tag summary

Content type

Image

Digest

Size

496.8 MB

Last updated

almost 5 years ago

docker pull neuromat/nes