1
0

feat(docker-compose): updated docker-compose with volumes

This commit is contained in:
sido
2018-03-17 22:08:07 +01:00
parent 747809d5a2
commit 9334c55e04
5 changed files with 63 additions and 42 deletions

View File

@ -2,15 +2,20 @@
Flexible software for scientific data
## Rancher configuration
This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services:
These templates can create a range of MOLGENIS stacks on top of Rancher. The latests and stable release serves 4 docker services:
- MOLGENIS
- MOLGENIS-OpenCPU
- Postgress
- ElasticSearch
## Usage
- Select MOLGENIS from catalog
- The stack-name must not be altered (this is hardcoded in de docker-compose file)
- Fill in the questions in the template area
- Click *Launch*
MOLGENIS can now be accessed over the Rancher network.
MOLGENIS can now be accessed over the Rancher network on the domains you specified.
## Loadbalancers
You can check lb.molgenis.org to check the availabity of the stack.

View File

@ -13,7 +13,7 @@ services:
environment:
- "db_uri=jdbc:postgresql://postgres/${DB_SCHEME}?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
- "db_driver=org.postgresql.Driver"
- "db_user=${DB_USER}"
- "db_user=${DB_USERNAME}"
- "db_password=${DB_PASSWORD}"
- "admin.password={MOLGENIS_ADMIN_PASSWORD}"
- "elasticsearch.cluster.name=${ELASTIC_CLUSTER}"
@ -29,7 +29,7 @@ services:
postgres:
image: postgres:9.6-alpine
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_SCHEME}
- PGDATA=/var/lib/postgresql/data/pgdata

View File

@ -22,7 +22,7 @@
required: true
default: "molgenis"
type: "string"
- variable: "DB_USER_NAME"
- variable: "DB_USERNAME"
description: "Name of the database username"
label: "Database username:"
required: true