You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
3.2 KiB
YAML
101 lines
3.2 KiB
YAML
include:
|
|
- path: ./docker-compose-base.yml
|
|
- path: ./docker-compose-nebula.yml
|
|
env_file: ./.env
|
|
|
|
services:
|
|
virtual-patient-web:
|
|
depends_on:
|
|
mysql:
|
|
condition: service_started
|
|
nacos:
|
|
condition: service_started
|
|
image: virtual-patient-web:2.0.0
|
|
container_name: virtual-patient-web-compose
|
|
ports:
|
|
- ${PATIENT_WEB_PORT}:8899
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/virtual-patient-web/:/data/vp/
|
|
command:
|
|
--spring.profiles.active=${SPRING_PROFILES_ACTIVE}
|
|
--spring.cloud.nacos.config.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.config.namespace=${NACOS_NAMESPACE}
|
|
--spring.cloud.nacos.discovery.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.discovery.namespace=${NACOS_NAMESPACE}
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
virtual-patient-manage:
|
|
depends_on:
|
|
mysql:
|
|
condition: service_started
|
|
nacos:
|
|
condition: service_started
|
|
image: virtual-patient-manage:2.0.0
|
|
container_name: virtual-patient-manage-compose
|
|
ports:
|
|
- ${MANAGE_WEB_PORT}:8891
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/virtual-patient-manage/:/data/vp/
|
|
command:
|
|
--spring.profiles.active=${SPRING_PROFILES_ACTIVE}
|
|
--spring.cloud.nacos.config.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.config.namespace=${NACOS_NAMESPACE}
|
|
--spring.cloud.nacos.discovery.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.discovery.namespace=${NACOS_NAMESPACE}
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
virtual-patient-graph:
|
|
depends_on:
|
|
mysql:
|
|
condition: service_started
|
|
nacos:
|
|
condition: service_started
|
|
image: virtual-patient-graph:2.0.0
|
|
container_name: virtual-patient-graph-compose
|
|
ports:
|
|
- ${GRAPH_WEB_PORT}:8892
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/virtual-patient-graph/:/data/vp/
|
|
command:
|
|
--spring.profiles.active=${SPRING_PROFILES_ACTIVE}
|
|
--spring.cloud.nacos.config.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.config.namespace=${NACOS_NAMESPACE}
|
|
--spring.cloud.nacos.discovery.server-addr=virtual-patient-nacos:8848
|
|
--spring.cloud.nacos.discovery.namespace=${NACOS_NAMESPACE}
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
virtual-patient-nginx:
|
|
depends_on:
|
|
virtual-patient-web:
|
|
condition: service_started
|
|
virtual-patient-manage:
|
|
condition: service_started
|
|
virtual-patient-graph:
|
|
condition: service_started
|
|
image: virtual-patient-nginx:1.1.0
|
|
container_name: virtual-patient-nginx-compose
|
|
ports:
|
|
- ${NGINX_HTTPS_PORT}:443
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/html/:/usr/share/nginx/html/
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
- UPSTREAM_WEB_SERVERS=${UPSTREAM_WEB_SERVERS}
|
|
- UPSTREAM_MANAGE_SERVERS=${UPSTREAM_MANAGE_SERVERS}
|
|
- UPSTREAM_GRAPH_SERVERS=${UPSTREAM_GRAPH_SERVERS}
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
|
|
networks:
|
|
virtual-patient-network:
|
|
driver: bridge |