aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/gerboweb.cfg.j2
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-04-02 04:36:10 +0900
committerjaseg <git@jaseg.net>2019-04-02 04:36:10 +0900
commitcbb98bcf0ee0e9e123f054377ff68b513efe6bf6 (patch)
treed44deea64134600a6b385c3c4a773aadc20812cf /gerboweb/deploy/gerboweb.cfg.j2
parenta846d39bc88e0c03402b20790b04762666bc055f (diff)
downloadgerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.tar.gz
gerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.tar.bz2
gerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.zip
gerboweb: Modularize deployment playbooks a bit
Diffstat (limited to 'gerboweb/deploy/gerboweb.cfg.j2')
-rw-r--r--gerboweb/deploy/gerboweb.cfg.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/gerboweb/deploy/gerboweb.cfg.j2 b/gerboweb/deploy/gerboweb.cfg.j2
new file mode 100644
index 0000000..994cd08
--- /dev/null
+++ b/gerboweb/deploy/gerboweb.cfg.j2
@@ -0,0 +1,4 @@
+MAX_CONTENT_LENGTH=10000000
+SECRET_KEY="{{lookup('password', 'gerboweb_flask_secret.txt length=32')}}"
+UPLOAD_PATH="{{gerboweb_cache}}/upload"
+JOB_QUEUE_DB="{{gerboweb_cache}}/job_queue.sqlite3"