Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
discourse-cern
Commits
8c133b22
Commit
8c133b22
authored
Nov 17, 2021
by
Ismael Posada Trobo
Browse files
remove cgroup-limits line, failing with python: command not found
parent
5523d42e
Changes
2
Show whitespace changes
Inline
Side-by-side
run-discourse.sh
View file @
8c133b22
...
...
@@ -12,9 +12,6 @@ envsubst < /tmp/discourse-configmap/discourse.conf > /discourse/config/discourse
envsubst < /tmp/discourse-configmap/sidekiq.yml
>
/discourse/config/sidekiq.yml
echo
"--> DONE"
# Get memory information
export_vars
=
$(
python cgroup-limits
)
;
export
$export_vars
export
RAILS_ENV
=
"production"
if
bundle
exec
rake themes:update assets:precompile
;
...
...
run-nginx.sh
View file @
8c133b22
...
...
@@ -5,9 +5,6 @@ echo "--> Overwritting env variables ..."
envsubst < /tmp/discourse-configmap/discourse.conf
>
/discourse/config/discourse.conf
echo
"--> DONE"
# Get memory information
export_vars
=
$(
python cgroup-limits
)
;
export
$export_vars
export
RAILS_ENV
=
"production"
# Precompile assets. If succees, proceed with Nginx.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment