Ansible role that installs INCEpTION as a docker stack. INCEpTION is a semantic annotation platform offering intelligent assistance and knowledge management. https://inception-project.github.io
Go to file
Andrea Dell'Amico 3e94ecfb16
Remove the export of remote_user.
2021-11-04 18:23:30 +01:00
defaults Set the logout url on request only. 2021-11-04 14:57:58 +01:00
handlers Initial commit 2021-01-04 16:45:06 +01:00
meta First push 2021-01-07 20:34:41 +01:00
tasks Add PEP support via NGINX + JS. 2021-11-02 19:47:36 +01:00
templates Remove the export of remote_user. 2021-11-04 18:23:30 +01:00
tests Initial commit 2021-01-04 16:45:06 +01:00
vars First push 2021-01-07 20:34:41 +01:00
.gitignore Initial commit 2021-01-04 16:45:06 +01:00
LICENSE Initial commit 2021-01-04 16:45:06 +01:00
README.md First push 2021-01-07 20:34:41 +01:00

README.md

Role Name

A role that installs the INCEpTION semantic annotation platform as Docker stack, https://inception-project.github.io

Role Variables

The most important variables are listed below:

inception_project_compose_dir: '/srv/inception_project_stack'
inception_project_docker_stack_name: 'inception-project'
inception_project_docker_service_name: 'inception'
inception_project_docker_image: 'inceptionproject/inception:0.17.3'
inception_project_docker_network: 'inception_project_net'
inception_project_docker_data_node: 'localhost'
# We need a directory because the confg file goes inside it
inception_project_service_volume: '/srv/inception_project_data'
inception_project_service_port: 8080
# IMPORTANT. Set it to True for the server that is going to host the DB
inception_project_service_constraints: 'node.labels.service_data==inception_project'
inception_project_behind_haproxy: True
inception_project_haproxy_public_net: 'haproxy-public'
# Settings
inception_project_server_port: 8080
inception_project_server_address: '0.0.0.0'
inception_project_backup_interval: 300
inception_project_backup_keep_number: 10
# In seconds
inception_project_backup_keep_time: 0
inception_project_server_auth_mode: 'database'
inception_project_server_preauth_header: 'remote_user'
inception_project_server_preauth_default_roles: ''
inception_project_server_preauth_users_roles: []
# - { username: 'user', roles: 'ROLE_PROJECT_CREATOR,ROLE_ADMIN' }
# DB
inception_project_db_as_container: True
inception_project_docker_db_node: 'localhost'
inception_project_db_image: 'mysql:5'
inception_project_db_host: 'mysql-server'
inception_project_db_port: 3306
inception_project_db_name: 'inception'
inception_project_db_user: 'inception_user'
#inception_project_db_pwd: 'set it in a vault file'
inception_project_db_volume: 'inception_db_data'
inception_project_db_constraints: 'node.labels.mysql_data==inception_project'

inception_project_settings:
  - 'debug.showExceptionPage=false'
  - 'user.profile.accessible=true'
  - 'user-selection.hideUsers=false'
  - 'server.port={{ inception_project_server_port }}'
  - 'server.address={{ inception_project_server_address }}'
  - 'server.ajp.port=-1'
  - 'backup.interval={{ inception_project_backup_interval }}'
  - 'backup.keep.number={{ inception_project_backup_keep_number }}'
  - 'backup.keep.time={{ inception_project_backup_keep_time }}'
  - 'auth.mode={{ inception_project_server_auth_mode }}'
  - 'auth.preauth.header.principal={{ inception_project_server_preauth_header }}'
  - 'auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}'

Dependencies

A Docker Swarm cluster

License

EUPL-1.2

Author Information

Andrea Dell'Amico, andrea.dellamico@isti.cnr.it