diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 726bc6bf..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,160 +0,0 @@ -version: '3.7' - -services: - exareme_keystore: - image: bitnami/consul:1.8.3 - environment: - - CONSUL_AGENT_MODE=server - - CONSUL_BOOTSTRAP_EXPECT=1 - - CONSUL_CLIENT_LAN_ADDRESS=0.0.0.0 - - CONSUL_ENABLE_UI=true - restart: unless-stopped - - exareme_master: - image: hbpmip/exareme:${EXAREME} - environment: - - CONSULURL=exareme_keystore:8500 - - FEDERATION_ROLE=master - - NODE_NAME=miplocal - - TEMP_FILES_CLEANUP_TIME=30 - - NODE_COMMUNICATION_TIMEOUT=30000 # (MILIS) NODE COMMUNICATION WILL DROP IF TIMEOUT IS PASSED - - ENVIRONMENT_TYPE=PROD # TEST / DEV / PROD - - LOG_LEVEL=INFO # INFO / DEBUG - - CONVERT_CSVS=FALSE # TRUE / FALSE - depends_on: - - exareme_keystore - ports: - - '9090:9090' - volumes: - - ./data:/root/exareme/data/ - restart: unless-stopped - - portalbackend_db: - image: postgres:11.3-alpine - volumes: - - ./.stored_data/portalbackenddb:/var/lib/postgresql/data - hostname: portalbackend_db - environment: - POSTGRES_PASSWORD: test - command: -p 5433 - expose: - - 5433 - restart: unless-stopped - - create_dbs: - image: hbpmip/create-databases:1.1.0 - environment: - DB_HOST: portalbackend_db - DB_PORT: 5433 - DB_ADMIN_USER: postgres - DB_ADMIN_PASSWORD: test - DB4: portal - USER4: portal - PASSWORD4: portalpwd - depends_on: - - portalbackend_db - restart: on-failure - - portalbackend: - image: hbpmip/portal-backend:${PORTALBACKEND} - ports: - - '8080:8080' - - '8089:8089' - environment: - ### API ### - LOG_LEVEL: INFO - LOG_LEVEL_FRAMEWORK: INFO - AUTHENTICATION: ${KEYCLOAK_AUTHENTICATION} - ### Database ### - PORTAL_DB_URL: jdbc:postgresql://portalbackend_db:5433/portal - PORTAL_DB_SERVER: portalbackend_db:5433 - PORTAL_DB_USER: portal - PORTAL_DB_PASSWORD: portalpwd - ### Exareme2 ### - EXAREME2_URL: ${EXAREME2_URL} - ### Exareme ### - EXAREME_URL: http://exareme_master:9090 - ### Keycloak ### - KEYCLOAK_AUTH_URL: ${KEYCLOAK_PROTOCOL}://${KEYCLOAK_URL}/auth/ - KEYCLOAK_REALM: ${KEYCLOAK_REALM} - KEYCLOAK_CLIENT_ID: ${KEYCLOAK_CLIENT_ID} - KEYCLOAK_CLIENT_SECRET: ${KEYCLOAK_CLIENT_SECRET} - KEYCLOAK_SSL_REQUIRED: ${KEYCLOAK_SSL_REQUIRED} - depends_on: - - create_dbs - volumes: - - ./config:/opt/portal/api - restart: unless-stopped - - gateway: - image: hbpmip/gateway:${GATEWAY} - environment: - ENGINE_TYPE: exareme - ENGINE_BASE_URL: http://portalbackend:8080/services/ - GATEWAY_PORT: 8081 - ports: - - '8081:8081' - depends_on: - - portalbackend - restart: unless-stopped - - frontend: - image: hbpmip/portal-frontend:${FRONTEND} - depends_on: - - gateway - ports: - - '80:80' - - '443:443' - volumes: - - ./.stored_data/caddy/caddy_data:/data - environment: - ERROR_LOG_LEVEL: info - PORTAL_BACKEND_SERVER: portalbackend:8080 - PORTAL_BACKEND_CONTEXT: services - GATEWAY_SERVER: gateway:8081 - INSTANCE_NAME: 'MIP ${MIP}' - VERSION: 'Frontend: ${FRONTEND}, Gateway: ${GATEWAY}, Backend: ${PORTALBACKEND}, Exareme: ${EXAREME}' - TRACKER_ID: UA-80660232-5 - KEYCLOAK_HOST: http://keycloak:8095 - KEYCLOAK_AUTH_PATH: /auth - PUBLIC_MIP_HOST: ${PUBLIC_MIP_HOST} - PUBLIC_MIP_PROTOCOL: ${PUBLIC_MIP_PROTOCOL} - EXTERNAL_MIP_PROTOCOL: ${EXTERNAL_MIP_PROTOCOL} - MIP_LINK: ${MIP_LINK} - restart: unless-stopped - - keycloak_db: - image: postgres:12.2 - volumes: - - ./.stored_data/keycloak:/var/lib/postgresql/data - environment: - POSTGRES_DB: keycloak - POSTGRES_USER: keycloak - POSTGRES_PASSWORD: password - restart: unless-stopped - - keycloak: - image: jboss/keycloak:15.0.2 - command: -Djboss.http.port=8095 - volumes: - - ./config/keycloak/keycloak.json:/tmp/mip.json - - ./config/keycloak/HBPTheme:/opt/jboss/keycloak/themes/HBPTheme - environment: - DB_VENDOR: POSTGRES - DB_ADDR: keycloak_db - DB_PORT: 5432 - DB_DATABASE: keycloak - DB_USER: keycloak - DB_SCHEMA: public - DB_PASSWORD: password - KEYCLOAK_USER: admin - KEYCLOAK_PASSWORD: Pa55w0rd - KEYCLOAK_IMPORT: /tmp/mip.json - KEYCLOAK_HOSTNAME: ${KEYCLOAK_URL} - PROXY_ADDRESS_FORWARDING: 'true' #important for reverse proxy - ports: - - '8095:8095' - - '8443:8443' - depends_on: - - keycloak_db - restart: unless-stopped