aboutsummaryrefslogtreecommitdiff
path: root/docker-scripts/uwsgi.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-03-27 23:06:36 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-03-27 23:06:36 -0400
commitc49d9e0d69685d022fa6ffaa04f91bbe46f67551 (patch)
tree5f100e3f9b70340f2e642de286cda01183b6e5b4 /docker-scripts/uwsgi.sh
parent35dddcfc0dc2ded193a6b503f9ff4a5a3cd68439 (diff)
downloaddispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.gz
dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.xz
Fully dockerized environment
Diffstat (limited to 'docker-scripts/uwsgi.sh')
-rw-r--r--docker-scripts/uwsgi.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-scripts/uwsgi.sh b/docker-scripts/uwsgi.sh
new file mode 100644
index 0000000..26c57fe
--- /dev/null
+++ b/docker-scripts/uwsgi.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+set -x
+cd /app
+
+uwsgi \
+ --socket 0.0.0.0:9200 \
+ --env CUSTOM_CONFIG=/app/config.yml \
+ --processes 1 \
+ --threads 4 \
+ --uid uwsgi \
+ wsgi:application
+
+ls -la
+
+
+echo "MOTHERFUCKER"