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.
90 lines
2.4 KiB
YAML
90 lines
2.4 KiB
YAML
services:
|
|
mysql:
|
|
image: mysql:5.7
|
|
container_name: vp-mysql-compose
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD}
|
|
- TZ=${TIMEZONE}
|
|
command:
|
|
--max_connections=100
|
|
--character-set-server=utf8mb4
|
|
--collation-server=utf8mb4_general_ci
|
|
--default-authentication-plugin=mysql_native_password
|
|
--tls_version="TLSv1.2,TLSv1.3"
|
|
ports:
|
|
- ${MYSQL_PORT}:3306
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/mysql/data:/var/lib/mysql
|
|
- ${RUN_DATA_DIR}/initdb/:/docker-entrypoint-initdb.d/
|
|
networks:
|
|
- virtual-patient-network
|
|
healthcheck:
|
|
test: ["CMD", "mysqladmin" ,"ping", "-uroot", "-p${MYSQL_PASSWORD}"]
|
|
interval: 10s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
restart: always
|
|
|
|
minio:
|
|
image: quay.io/minio/minio:RELEASE.2023-10-25T06-33-25Z
|
|
container_name: vp-minio-compose
|
|
command: server --console-address ":9001" /data
|
|
ports:
|
|
- ${MINIO_PORT}:9000
|
|
- ${MINIO_CONSOLE_PORT}:9001
|
|
environment:
|
|
- MINIO_ROOT_USER=${MINIO_USER}
|
|
- MINIO_ROOT_PASSWORD=${MINIO_PASSWORD}
|
|
- TZ=${TIMEZONE}
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/minio/data:/data
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
|
|
redis:
|
|
image: redis/redis-stack-server:7.2.0-v10
|
|
container_name: vp-redis-stack-compose
|
|
ports:
|
|
- ${REDIS_PORT_HTTP}:6379
|
|
environment:
|
|
- REDIS_ARGS=--requirepass ${REDIS_PASSWORD}
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/redis/conf/redis-stack.conf:/etc/redis-stack.conf
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
|
|
nacos:
|
|
image: nacos/nacos-server:v2.3.2
|
|
container_name: virtual-patient-nacos
|
|
ports:
|
|
- ${NACOS_PORT_HTTP}:8848
|
|
environment:
|
|
- MODE=standalone
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/nacos/data/:/home/nacos/data
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
|
|
paddlespeech:
|
|
image: paddlespeech-dev:1.1.0
|
|
container_name: vp-paddlespeech-compose
|
|
ports:
|
|
- ${PADDLE_SPEECH_PORT}:8090
|
|
command: sh /paddlespeech.sh &
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always
|
|
virtual-patient-qa:
|
|
image: virtual-patient-qa:1.0.0
|
|
container_name: vp-qa-compose
|
|
ports:
|
|
- ${VP_QA_PORT}:8000
|
|
volumes:
|
|
- ${RUN_DATA_DIR}/virtual_patient_qa/:/data/vp/virtual_patient_qa/
|
|
networks:
|
|
- virtual-patient-network
|
|
restart: always |