molgenis: image: registry.webhosting.rug.nl/molgenis/molgenis:latest ports: - 8080 links: - app - elasticsearch volumes: - molgenis-data environment: - "db_uri=jdbc:postgresql://postgres/${DB_SCHEME}?reWriteBatchedInserts=true&autosave=CONSERVATIVE" - "db_driver=org.postgresql.Driver" - "db_user=molgenis" - "db_password=molgenis" - "admin.password=admin" - "elasticsearch.cluster.name=${ELASTIC_CLUSTER}" - "elasticsearch.transport.addresses=elasticsearch:9300" labels: io.rancher.sidekicks: molgenis-data io.rancher.container.pull_image: always io.rancher.scheduler.global: true traefik.frontend.rule: Host:${DOMAINS} traefik.backend: ${TRAEFIK_BACKEND} traefik.enable: true traefik.port: 8080 postgres: image: postgres:9.6-alpine environment: - POSTGRES_USER=molgenis - POSTGRES_PASSWORD=molgenis - POSTGRES_DB=${DB_SCHEME} - PGDATA=/var/lib/postgresql/data/pgdata volumes: - postgres-data ports: - 5432 labels: io.rancher.sidekicks: postgres-data io.rancher.scheduler.global: true opencpu: image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:latest ports: - 8004:8004 elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1 environment: - "cluster.name=${ELASTIC_CLUSTER}" - "bootstrap.memory_lock=true" - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - "xpack.security.enabled=false" ulimits: memlock: soft: -1 hard: -1 # volumes_from: # - elasticsearch-data ports: - 9200 - 9300 volumes: - elastic-data labels: #io.rancher.sidekicks: elasticsearch-data io.rancher.scheduler.global: true volumes: postgres-data: molgenis-data: elastic-data: driver: local