Compare commits

...

3 Commits

Author SHA1 Message Date
chenc
5e777d8f14 Merge branch 'main' of https://opencode.jsaix.cn/chenc/aix-docker 2023-11-27 14:55:16 +08:00
chenc
7fb8981cba add 2023-11-27 14:54:41 +08:00
chenc
1550d770c6 v2.0.0
add php81 supervisord
2023-11-27 14:53:10 +08:00
2 changed files with 14 additions and 1 deletions

View File

@ -43,7 +43,7 @@ services:
# - discovery.seed_hosts=
# - cluster.initial_master_nodes=cc-docker-node
- discovery.type=single-node
- ELASTIC_PASSWD=${ELK_ELASTIC_PASSWD:-qq1458513}
- ELASTIC_PASSWORD=${ELK_ELASTIC_PASSWD:-qq1458513}
volumes:
- "./elasticsearch/data/${ELK_VERSION:-7.17.7}:/usr/share/elasticsearch/data:rw"
- "./elasticsearch/plugins/${ELK_VERSION:-7.17.7}:/usr/share/elasticsearch/plugins"
@ -166,6 +166,7 @@ services:
volumes:
- "${WWWROOT_PATH}:/data/wwwroot"
- "./php/php81/etc:/usr/local/etc"
- "./php/php81/supervisord.d:/etc/supervisord.d"
working_dir: /data/wwwroot/
networks:
aix-docker-cc:

View File

@ -0,0 +1,12 @@
[program:horizon]
directory=/data/wwwroot/la_GatewayAdmin
command=php artisan horizon
process_name=horizon
autostart=true
startsecs=10
startretries=3
autorestart=true
stopasgroup=true
killasgroup=true
redirect_stderr=true
stdout_logfile=/tmp/supervisor_horizon.log