Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5 from lca1/dev
Browse files Browse the repository at this point in the history
MedCo v0.2.0
  • Loading branch information
mickmis authored May 2, 2019
2 parents 31b428b + 2ccc17a commit 6254a73
Show file tree
Hide file tree
Showing 61 changed files with 93,495 additions and 385 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
.DS_Store
medco
configuration-profiles/dev/
unlynxMedCo
medco-unlynx
223 changes: 141 additions & 82 deletions compose-profiles/dev-local-3nodes/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,191 +1,250 @@
version: '2.2'
version: '2.4'
services:
i2b2-medco-srv0:
i2b2-srv0:
extends:
file: ../docker-compose-common.yml
service: i2b2-medco
image: medco/i2b2-medco:dev
file: ../docker-compose-definitions.yml
service: i2b2
image: medco/i2b2:dev
environment:
- I2B2_DB_NAME=i2b2medcosrv0
- I2B2_DOMAIN_NAME=i2b2medcosrv0
- NODE_IDX=0
- UNLYNX_DEBUG_LEVEL=2
- AXIS2_LOGLEVEL=DEBUG
ports:
- "8090:8080"
networks:
medco-srv0:
intra-node-srv0:
aliases:
- i2b2
medco-network:
keycloak-network:
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
- i2b2
inter-nodes:
ipv4_address: 172.31.0.100

medco-unlynx-srv0:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: medco-unlynx
image: medco/medco-unlynx:dev
ports:
- "2000:2000"
- "2001:2001"
environment:
- NODE_IDX=0
- UNLYNX_DEBUG_LEVEL=2
- UNLYNX_DEBUG_LEVEL=3
networks:
intra-node-srv0:
inter-nodes:
ipv4_address: 172.31.0.101

medco-connector-srv0:
extends:
file: ../docker-compose-definitions.yml
service: medco-connector
image: medco/medco-connector:dev
ports:
- "1990:1999"
environment:
- I2B2_HIVE_URL=http://i2b2-srv0:8080/i2b2/services
- I2B2_LOGIN_DOMAIN=i2b2medcosrv0
- I2B2_LOGIN_USER=e2etest
- I2B2_LOGIN_PASSWORD=e2etest
- LOG_LEVEL=5
- UNLYNX_GROUP_FILE_IDX=0
networks:
- medco-srv0
- medco-network
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
intra-node-srv0:
inter-nodes:
ipv4_address: 172.31.0.102

i2b2-medco-srv1:
i2b2-srv1:
extends:
file: ../docker-compose-common.yml
service: i2b2-medco
image: medco/i2b2-medco:dev
file: ../docker-compose-definitions.yml
service: i2b2
image: medco/i2b2:dev
environment:
- I2B2_DB_NAME=i2b2medcosrv1
- I2B2_DOMAIN_NAME=i2b2medcosrv1
- NODE_IDX=1
- UNLYNX_DEBUG_LEVEL=2
- AXIS2_LOGLEVEL=DEBUG
ports:
- "8091:8080"
networks:
medco-srv1:
intra-node-srv1:
aliases:
- i2b2
medco-network:
keycloak-network:
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
inter-nodes:
ipv4_address: 172.31.0.110

medco-unlynx-srv1:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: medco-unlynx
image: medco/medco-unlynx:dev
ports:
- "2002:2002"
- "2003:2003"
environment:
- NODE_IDX=1
- UNLYNX_DEBUG_LEVEL=2
- UNLYNX_DEBUG_LEVEL=3
networks:
- medco-srv1
- medco-network
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
intra-node-srv1:
inter-nodes:
ipv4_address: 172.31.0.111

i2b2-medco-srv2:
medco-connector-srv1:
extends:
file: ../docker-compose-common.yml
service: i2b2-medco
image: medco/i2b2-medco:dev
file: ../docker-compose-definitions.yml
service: medco-connector
image: medco/medco-connector:dev
ports:
- "1991:1999"
environment:
- I2B2_HIVE_URL=http://i2b2-srv1:8080/i2b2/services
- I2B2_LOGIN_DOMAIN=i2b2medcosrv1
- I2B2_LOGIN_USER=e2etest
- I2B2_LOGIN_PASSWORD=e2etest
- LOG_LEVEL=5
- UNLYNX_GROUP_FILE_IDX=1
networks:
intra-node-srv1:
inter-nodes:
ipv4_address: 172.31.0.112

i2b2-srv2:
extends:
file: ../docker-compose-definitions.yml
service: i2b2
image: medco/i2b2:dev
environment:
- I2B2_DB_NAME=i2b2medcosrv2
- I2B2_DOMAIN_NAME=i2b2medcosrv2
- NODE_IDX=2
- UNLYNX_DEBUG_LEVEL=2
- AXIS2_LOGLEVEL=DEBUG
ports:
- "8092:8080"
networks:
medco-srv2:
intra-node-srv2:
aliases:
- i2b2
medco-network:
keycloak-network:
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
inter-nodes:
ipv4_address: 172.31.0.120

medco-unlynx-srv2:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: medco-unlynx
image: medco/medco-unlynx:dev
ports:
- "2004:2004"
- "2005:2005"
environment:
- NODE_IDX=2
- UNLYNX_DEBUG_LEVEL=2
- UNLYNX_DEBUG_LEVEL=3
networks:
- medco-srv2
- medco-network
volumes:
- ../../configuration-profiles/dev-local-3nodes:/medco-configuration
intra-node-srv2:
inter-nodes:
ipv4_address: 172.31.0.121

medco-connector-srv2:
extends:
file: ../docker-compose-definitions.yml
service: medco-connector
image: medco/medco-connector:dev
ports:
- "1992:1999"
environment:
- I2B2_HIVE_URL=http://i2b2-srv2:8080/i2b2/services
- I2B2_LOGIN_DOMAIN=i2b2medcosrv2
- I2B2_LOGIN_USER=e2etest
- I2B2_LOGIN_PASSWORD=e2etest
- LOG_LEVEL=5
- UNLYNX_GROUP_FILE_IDX=2
networks:
intra-node-srv2:
inter-nodes:
ipv4_address: 172.31.0.122

nginx:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: nginx
image: medco/nginx:dev
ports:
- "80:80"
environment:
- HTTP_SCHEME=http
- HTTP_SCHEME=http
networks:
- medco-srv0
- keycloak-network
volumes:
- ../../configuration-profiles/dev-local-3nodes/group.toml:/medco-configuration/group.toml
intra-node-srv0:
inter-nodes:
ipv4_address: 172.31.0.200

php-fpm:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: php-fpm
image: medco/php-fpm:dev
environment:
- I2B2_DB_NAME=i2b2medcosrv0
- I2B2_DOMAIN_NAME=i2b2medcosrv0
- I2B2_URL=http://i2b2-medco-srv0:8080/i2b2/services
- I2B2_DB_NAME=i2b2medcosrv0
- I2B2_DOMAIN_NAME=i2b2medcosrv0
- I2B2_URL=http://i2b2-medco-srv0:8080/i2b2/services
networks:
- medco-srv0
intra-node-srv0:
inter-nodes:
ipv4_address: 172.31.0.201

postgresql:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: postgresql
ports:
- "5432:5432"
networks:
- medco-srv0
- medco-srv1
- medco-srv2
- keycloak-network
inter-nodes:
ipv4_address: 172.31.0.202

pg-admin:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: pg-admin
image: medco/pgadmin4:dev
ports:
- "81:80"
networks:
- medco-srv0
- medco-srv1
- medco-srv2
inter-nodes:
ipv4_address: 172.31.0.203

keycloak:
extends:
file: ../docker-compose-common.yml
file: ../docker-compose-definitions.yml
service: keycloak
image: medco/keycloak:dev
ports:
- "8081:8080"
depends_on:
- postgresql
networks:
- keycloak-network
inter-nodes:
ipv4_address: 172.31.0.204

networks:
medco-network:
driver: bridge
picsure:
extends:
file: ../docker-compose-definitions.yml
service: picsure
image: medco/picsure:dev
ports:
- "8082:8080"
- "9992:9990"
depends_on:
- postgresql
networks:
inter-nodes:
ipv4_address: 172.31.0.205

keycloak-network:
networks:
inter-nodes:
driver: bridge
ipam:
config:
- subnet: 172.31.0.0/24

medco-srv0:
intra-node-srv0:
driver: bridge
medco-srv1:
intra-node-srv1:
driver: bridge
medco-srv2:
intra-node-srv2:
driver: bridge
Loading

0 comments on commit 6254a73

Please sign in to comment.