From a9bd847cbcbd367d29ba6708e943519ae05a1740 Mon Sep 17 00:00:00 2001 From: chenc <1458513@qq.com> Date: Mon, 27 Nov 2023 15:47:32 +0800 Subject: [PATCH] add --- docker-compose.yaml.example | 1 + php/php73/supervisord.d/default.conf.example | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 php/php73/supervisord.d/default.conf.example diff --git a/docker-compose.yaml.example b/docker-compose.yaml.example index bbbb5ab..e53b453 100644 --- a/docker-compose.yaml.example +++ b/docker-compose.yaml.example @@ -112,6 +112,7 @@ services: volumes: - "${WWWROOT_PATH}:/data/wwwroot:rw" - "./php/php73/etc:/usr/local/etc" + - "./php/php73/supervisord.d:/etc/supervisord.d" working_dir: /data/wwwroot/ networks: aix-docker-cc: diff --git a/php/php73/supervisord.d/default.conf.example b/php/php73/supervisord.d/default.conf.example new file mode 100644 index 0000000..0c69eb5 --- /dev/null +++ b/php/php73/supervisord.d/default.conf.example @@ -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 \ No newline at end of file