summaryrefslogtreecommitdiff
path: root/supervisor.conf
diff options
context:
space:
mode:
authorzhaokun <[email protected]>2024-03-22 17:49:34 +0800
committerzhaokun <[email protected]>2024-03-22 17:49:34 +0800
commit02ca4d21601df63a02c13e1523515ad23fc4c2df (patch)
tree5e0b62701b6abfb236313cdd989a7aff4f094dfb /supervisor.conf
parente6006170e2253c281ecaf1fb7e611b8efa106062 (diff)
add docker for automation
Diffstat (limited to 'supervisor.conf')
-rw-r--r--supervisor.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/supervisor.conf b/supervisor.conf
new file mode 100644
index 000000000..d4dde8bae
--- /dev/null
+++ b/supervisor.conf
@@ -0,0 +1,8 @@
+[supervisord]
+nodaemon=true
+
+[program:selenium]
+command=/usr/bin/java -jar /app/package/selenium-server-4.8.1.jar standalone
+
+[program:gunicorn]
+command=/usr/local/bin/gunicorn -c gunicorn.conf.py app:app