Skip to content
Snippets Groups Projects

Release v2.1.0

Merged Loraine Gueguen requested to merge dev into master
Compare and Show latest version
4 files
+ 36
15
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 9
9
@@ -35,10 +35,10 @@ and a [swarm](https://docs.docker.com/engine/swarm/swarm-tutorial) (for cluster
## Reverse proxy and authentication
Traefik is a reverse proxy which allows to direct HTTP traffic to various Docker Swarm services.
[Traefik](https://doc.traefik.io/traefik/) is a reverse proxy which allows to direct HTTP traffic to various Docker Swarm services.
The Traefik dashboard is deployed at [https://hostname/traefik/](https://hostname/traefik/)
Authelia is an authentication agent, which can be plugged to an LDAP server, and that Traefik can used to check permissions to access services.
[Authelia](https://www.authelia.com/docs/) is an authentication agent, which can be plugged to an LDAP server, and that Traefik can used to check permissions to access services.
The authentication layer is optional. If used, the config file needs the variables `https_port`, `authentication_domain_name`, `authelia_config_path`, `authelia_secrets_env_path`, `authelia_db_postgres_password`.
Authelia is accessed automatically by Traefik to check permissions everytime someones wants to access a page.
@@ -49,10 +49,10 @@ Note that Authelia needs a secured connexion (no self-signed certificate) betwee
The "gga_load_data" tools are composed of 4 scripts:
- gga_init: Create directory tree for organisms and deploy stacks for the input organisms as well as Traefik and optionally Authelia stacks
- gga_get_data: Create `src_data` directory tree for organisms and copy datasets for the input organisms into `src_data`
- gga_load_data: Load the datasets of the input organisms into their Galaxy library
- gga_run_workflow_phaeo*: Multiple scripts to run custom workflows in Galaxy, proposed as "example scripts" to take inspiration from
- `gga_init.py`: Create directory tree for organisms and deploy stacks for the input organisms as well as Traefik and optionally Authelia stacks
- `gga_get_data.py`: Create `src_data` directory tree for organisms and copy datasets for the input organisms into `src_data`
- `gga_load_data.py`: Load the datasets of the input organisms into their Galaxy library
- `gga_run_workflow_phaeo_*.py`: Multiple scripts to run custom workflows in Galaxy, proposed as "example scripts" to take inspiration from
as workflow parameters are specific to the [Phaeoexplorer](https://phaeoexplorer.sb-roscoff.fr) data
## Usage:
@@ -66,7 +66,7 @@ in the `examples` folder.
**The input file and config file have to be the same for all scripts!**
- Deploy stacks part:
- Deploy Docker stacks:
```bash
$ python3 /path/to/repo/gga_init.py input_file.yml \
@@ -76,7 +76,7 @@ $ python3 /path/to/repo/gga_init.py input_file.yml \
[-v/--verbose]
```
- Copy source data file:
- Copy source data files:
```bash
$ python3 /path/to/repo/gga_get_data.py input_file.yml \
@@ -93,7 +93,7 @@ $ python3 /path/to/repo/gga_load_data.py input_file.yml \
[-v/--verbose]
```
- Run a workflow in galaxy (example):
- Run a workflow in Galaxy (example script, specific to Phaeoexplorer data):
```bash
$ python3 /path/to/repo/gga_run_workflow_phaeo_jbrowse.py input_file.yml \
Loading