projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0cd2c4
)
pull logs and uploads out of image
author
Sam Saffron
<sam.saffron@gmail.com>
Mon, 4 Nov 2013 05:32:25 +0000
(21:32 -0800)
committer
Sam Saffron
<sam.saffron@gmail.com>
Mon, 4 Nov 2013 05:32:25 +0000
(21:32 -0800)
standalone.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/standalone.template.yml
b/standalone.template.yml
index 4e67e6e3bd245d3609eaf617ecff415ad13b121e..45c25d423a67ce0be232116dff46d9fe19a31799 100644
(file)
--- a/
standalone.template.yml
+++ b/
standalone.template.yml
@@
-103,7
+103,13
@@
run:
- cp config/environments/production.rb.sample config/environments/production.rb
- mkdir -p tmp/pids
- mkdir -p tmp/sockets
- - mkdir -p log
+ - mkdir -p /shared/log/rails
+ - rm -r log
+ - ln -s /shared/log/rails $home/log
+ - mkdir -p /shared/uploads
+ - ln -s /shared/uploads $home/public/uploads
+ - chown -R discourse /shared/uploads
+ - chown -R discourse /shared/log/rails
- exec:
cmd:
- mkdir -p /var/run/sshd