Commit 9a16e30d authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

WIP: add process orchestration with supervisord

parent d87e89ec
Pipeline #51902 passed with stages
in 1 minute and 55 seconds
......@@ -10,6 +10,8 @@ gwcelery = {editable = true,path = "."}
ipython = "*"
# Pull in flower from GitHub branch to pull in extra features.
flower = {git = "https://github.com/lpsinger/flower",ref = "custom-stats"}
# Supervisor supports Python 3 on master, but not in a release yet.
supervisor = {git = "https://github.com/Supervisor/supervisor"}
[requires]
python_version = "3.6"
{
"_meta": {
"hash": {
"sha256": "6f11f79aedbe565deb0fcb79534656ab77d495693118d1fab89591fcc5523c3d"
"sha256": "656496b4df1d26ff5525cf5ecce159cfd2cf42a9411649281c163b7ad2cb178e"
},
"pipfile-spec": 6,
"requires": {
......@@ -503,13 +503,13 @@
},
"ligo.skymap": {
"hashes": [
"sha256:1728a23b65f93defedb33a2cbf87d2f424a2cce5b7a45785fe7b42c671a88213",
"sha256:1e639d659dff7bf0c9248ece8205fa57b8181a0ed23384394ef0c13589469e5c",
"sha256:2f2881ac37fbe247ae587e3360de4dddf32315da9f0e99b7fd2ee429ae915320",
"sha256:94c6487e0c2e5817e069c5c2bd83c039440f3ecddaeb14c057d946a88d17df46",
"sha256:aa25b8f59cb4d8a2bb2b29427b9af566caa1186800ebcc1ca297784b9dbe67a6"
"sha256:569237779d67b24d5d3f04277448d7c606889afd25e62f84ad1f1ae386f4bf00",
"sha256:72f415dfb90b384ed2d2583a46e1122916b82a0afb8d350a878e0b6c0143b72e",
"sha256:798f9d723cf45e3f51b366cb40f7e96c376ce0c2208a9211cc8a8f2cb617c3b4",
"sha256:b6fee2e93ba03c08d25aa2415bc373633f7891b5f57dcb07d1ef5c9189ca9b6d",
"sha256:f360f1406dcde5346fdd84b51298d385cfad0929fcb579ad15d8fe902ceb998b"
],
"version": "==0.1.2"
"version": "==0.1.3"
},
"ligotimegps": {
"hashes": [
......@@ -1000,6 +1000,10 @@
],
"version": "==1.3.3"
},
"supervisor": {
"git": "https://github.com/Supervisor/supervisor",
"ref": "a0ee8f1026c929ae4d9fc84741924414e8008f49"
},
"tornado": {
"hashes": [
"sha256:0662d28b1ca9f67108c7e3b77afabfb9c7e87bde174fbda78186ecedc2499a9d",
......
[supervisord]
environment: CELERY_BROKER_URL="redis+socket:///%(ENV_XDG_RUNTIME_DIR)s/redis.sock"
[program:redis]
stdout_logfile: %(program_name)s.log
command: redis-server --port 0
--unixsocket %(ENV_XDG_RUNTIME_DIR)s/redis.sock --unixsocketperm 700
--client-output-buffer-limit normal 0 0 0
--client-output-buffer-limit slave 256mb 64mb 60
--client-output-buffer-limit pubsub 256mb 64mb 60
[program:beat]
stderr_logfile: %(program_name)s.log
command: gwcelery beat
[program:flask]
stderr_logfile: %(program_name)s.log
command: gwcelery flask run --with-threads --host 0.0.0.0
[program:flower]
stderr_logfile: %(program_name)s.log
command: gwcelery flower
[program:celery]
stderr_logfile: %(program_name)s.log
command: gwcelery worker -l info -n %(program_name)s -Q %(program_name)s
[program:openmp]
stderr_logfile: %(program_name)s.log
command: gwcelery worker -l info -n %(program_name)s -Q %(program_name)s -c 1
[program:exttrig]
stderr_logfile: %(program_name)s.log
command: gwcelery worker -l info -n %(program_name)s -Q %(program_name)s -c 1
[program:superevent]
stderr_logfile: %(program_name)s.log
command: gwcelery worker -l info -n %(program_name)s -Q %(program_name)s -c 1
[program:voevent]
stderr_logfile: %(program_name)s.log
command: gwcelery worker -l info -n %(program_name)s -Q %(program_name)s -P solo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment