Commit 88226117 by 纪相明

添加自动开方/审方脚本服务

parent 0b304b7b
......@@ -78,3 +78,5 @@ ENABLE_REDIS_SERVICE=0
REDIS_DATA_DIR=./runtime/redis
# 是否启用schedule
ENABLE_CRONTAB_SERVICE=0
# 是否启用自动开方审方脚本
ENABLE_AUTO_PRESCRIPTION=0
......@@ -74,3 +74,19 @@ services:
ipv4_address: ${DOCKER_IP_PREFIX}.6
entrypoint:
[ "cron", "-f" ]
auto-prescription: # 自动开方审方脚本
restart: always
build:
context: ./docker/php
volumes:
- .:/var/www
environment:
- TZ=${TZ}
# - XDEBUG_CONFIG=client_host=${DOCKER_IP_PREFIX}.1
deploy:
replicas: ${ENABLE_CRONTAB_SERVICE}
networks:
net:
ipv4_address: ${DOCKER_IP_PREFIX}.7
entrypoint:
[ "/var/www/artisan", "mohe:prescription" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment