Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
88226117
authored
Nov 30, 2024
by
纪相明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动开方/审方脚本服务
parent
0b304b7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
.env.example
+2
-0
docker-compose.yml
+16
-0
No files found.
.env.example
View file @
88226117
...
...
@@ -78,3 +78,5 @@ ENABLE_REDIS_SERVICE=0
REDIS_DATA_DIR=./runtime/redis
# 是否启用schedule
ENABLE_CRONTAB_SERVICE=0
# 是否启用自动开方审方脚本
ENABLE_AUTO_PRESCRIPTION=0
docker-compose.yml
View file @
88226117
...
...
@@ -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"
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment