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