Commit 07c5eeaf by 赵增煜

docker composer配置

parent 8968c172
......@@ -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_AUTO_PRESCRIPTION}
networks:
net:
ipv4_address: ${DOCKER_IP_PREFIX}.7
entrypoint:
[ "/var/www/artisan", "mohe:prescription" ]
\ No newline at end of file
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