forward deploy environment variables

parent 8c151474
......@@ -35,7 +35,7 @@ appStart () {
rand=$(dd if=/dev/urandom bs=256 count=1 2>/dev/null | base64 | sed ':a;N;$!ba;s/\n//g')
sed -i -r "s'@RANDOM@'$rand'" /etc/burp/burpui.cfg
sed -i -r "s'@DSN@'$SENTRY_DSN'" /etc/burp/burpui.cfg
sed -i -r "s'@PIWIK_URL@'$SPIWIK_URL'" /etc/burp/burpui.cfg
sed -i -r "s'@PIWIK_URL@'$PIWIK_URL'" /etc/burp/burpui.cfg
sed -i -r "s'@PIWIK_SCRIPT@'$PIWIK_SCRIPT'" /etc/burp/burpui.cfg
sed -i -r "s'@PIWIK_ID@'$PIWIK_ID'" /etc/burp/burpui.cfg
......
......@@ -53,6 +53,9 @@ demo-bui:
- 127.0.0.1:5005:8000
environment:
- SENTRY_DSN
- PIWIK_URL
- PIWIK_SCRIPT
- PIWIK_ID
links:
- demo-redis
- demo-burp1
......
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