-
Notifications
You must be signed in to change notification settings - Fork 384
Controlplane setup #507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controlplane setup #507
Conversation
94b3977
to
0a3a1e0
Compare
1fcc7b3
to
6320e54
Compare
- rails | ||
additional_workloads: | ||
- redis | ||
- postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dzirtusss why do we nee to list these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those are used in ps
command atm - ps
, ps:start
, ps:stop
, ps:restart
. however, there is no clear plan about their future need atm
3b293bd
to
2b595ad
Compare
RUN yarn install | ||
|
||
COPY . . | ||
|
||
RUN rake react_on_rails:locale && RAILS_ENV=production rake assets:precompile | ||
RUN rails react_on_rails:locale && RAILS_ENV=production rails assets:precompile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to set NODE_ENV=production as well.
RUN yarn install | ||
|
||
COPY . . | ||
|
||
RUN rake react_on_rails:locale && RAILS_ENV=production rake assets:precompile | ||
RUN rails react_on_rails:locale && RAILS_ENV=production rails assets:precompile | ||
|
||
ENV RAILS_ENV=production | ||
ENV NODE_ENV=production |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move these lines above the precompile.
4134386
to
41a1e7b
Compare
41a1e7b
to
4b04f26
Compare
This change is