version: '3.1' services: consul: hostname: consul restart: always container_name: consul image: consul:1.5 privileged: true ports: - 38500:8500 entrypoint: ["docker-entrypoint.sh"] command: ["agent", "-dev", "-ui", "-client", "0.0.0.0"] zuul: hostname: zuul restart: always container_name: zuul image: tools.bpmhome.cn:18082/zuul:latest privileged: true env_file: - ./env/ibps.sw.env - ./env/zuul.docker.env - ./env/provider.docker.env ports: - 35100:5100 depends_on: - "consul" volumes: - ./agent:/opt/lc/ibps/v3/agent - ./log/zuul:/tmp/ibps/v3/logs oauth2server: hostname: oauth2server restart: always container_name: oauth2server image: tools.bpmhome.cn:18082/oauth2server:latest privileged: true env_file: - ./env/ibps.sw.env - ./env/oauth.docker.env - ./env/provider.docker.env ports: - 35200:5200 depends_on: - "consul" volumes: - ./agent:/opt/lc/ibps/v3/agent - ./log/oauth2server:/opt/lc/ibps/v3/oauth2server/logs - ./datasource/datasource-mysql-platform.xml:/opt/lc/ibps/v3/oauth2server/conf/dataSource-prod.xml - ./license/ibpsVfy.lic:/opt/lc/ibps/v3/oauth2server/conf/ibpsVfy.lic - ./license/ibpsPublic.store:/opt/lc/ibps/v3/oauth2server/conf/ibpsPublic.store - ./license/license.passwd:/opt/lc/ibps/v3/oauth2server/conf/license.passwd platform: hostname: platform restart: always container_name: platform image: tools.bpmhome.cn:18082/platform:latest privileged: true env_file: - ./env/ibps.sw.env - ./env/platform.docker.env - ./env/provider.docker.env ports: - 35300:5300 - 35888:5888 depends_on: - "consul" volumes: - ./agent:/opt/lc/ibps/v3/agent - ./log/platform:/opt/lc/ibps/v3/platform/logs - ./datasource/datasource-mysql-platform.xml:/opt/lc/ibps/v3/platform/conf/dataSource-prod.xml - ./license/ibpsVfy.lic:/opt/lc/ibps/v3/platform/conf/ibpsVfy.lic - ./license/ibpsPublic.store:/opt/lc/ibps/v3/platform/conf/ibpsPublic.store - ./license/license.passwd:/opt/lc/ibps/v3/platform/conf/license.passwd business: hostname: business restart: always container_name: business image: tools.bpmhome.cn:18082/business:latest privileged: true env_file: - ./env/ibps.sw.env - ./env/business.docker.env - ./env/provider.docker.env ports: - 35305:5305 depends_on: - "consul" volumes: - ./agent:/opt/lc/ibps/v3/agent - ./log/business:/opt/lc/ibps/v3/business/logs - ./datasource/datasource-mysql-business.xml:/opt/lc/ibps/v3/business/conf/dataSource-prod.xml - ./license/ibpsVfy.lic:/opt/lc/ibps/v3/business/conf/ibpsVfy.lic - ./license/ibpsPublic.store:/opt/lc/ibps/v3/business/conf/ibpsPublic.store - ./license/license.passwd:/opt/lc/ibps/v3/business/conf/license.passwd nginx: hostname: nginx restart: always container_name: nginx image: nginx:1.16-alpine privileged: true ports: - 380:80 depends_on: - "zuul" volumes: - ./conf/nginx.conf:/etc/nginx/nginx.conf - ./ui:/etc/nginx/html - ./app-ui:/etc/nginx/html/app