smartcloud 0.0.184 → 0.0.185
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/buildpacker.rb +2 -2
- data/lib/smartcloud/grids/runner.rb +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c484a6fcf7dcb984273371aa62fdd8276a1ac34f8198e7bd14b54e6ca3c6f7a2
|
4
|
+
data.tar.gz: f003009d8c5849c28540a4c7e807540015afdda3996d59464cf075be16c67f1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f84e907973d6c90a7a8b72ff84c7b21d92ff9a1e57d8b63947ad26490473c6f506caad65fa83dad6a9f750f7e8c6da154dcd93da2d28748c081ec6e8b01f5483
|
7
|
+
data.tar.gz: e35384f303b0d2b381371c412672686ff1ba8c199fad3097063694b90e6ce3ff3b41351a09da38a0d10acf38c5b7a2a62785701ab87acc6d62fc4c280ac02151
|
@@ -304,9 +304,10 @@ module Smartcloud
|
|
304
304
|
system("grep -q '^RAILS_MASTER_KEY=' #{env_path} || echo 'RAILS_MASTER_KEY=yourmasterkey' >> #{env_path}")
|
305
305
|
logger.warn "Please set your RAILS_MASTER_KEY env var for this rails app." if system("grep -q '^RAILS_MASTER_KEY=yourmasterkey' #{env_path}")
|
306
306
|
|
307
|
-
# Setup
|
307
|
+
# Setup app folders. If this is not created then docker will create it while running the container,
|
308
308
|
# but the folder will have root user assigned instead of the current user.
|
309
|
-
FileUtils.mkdir_p("#{container_path}/
|
309
|
+
FileUtils.mkdir_p("#{container_path}/app/vendor/bundle")
|
310
|
+
FileUtils.mkdir_p("#{container_path}/app/public")
|
310
311
|
|
311
312
|
# Setup Godfile
|
312
313
|
unless File.exist? "#{container_path_with_version}/Godfile"
|
@@ -330,7 +331,8 @@ module Smartcloud
|
|
330
331
|
--expose='5000' \
|
331
332
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
|
332
333
|
--volume='#{container_path_with_version}:/app' \
|
333
|
-
--volume='#{container_path}/
|
334
|
+
--volume='#{container_path}/app/vendor/bundle:/app/vendor/bundle' \
|
335
|
+
--volume='#{container_path}/app/public:/app/public' \
|
334
336
|
--workdir='/app' \
|
335
337
|
--restart='always' \
|
336
338
|
--network='nginx-network' \
|